1
2
3
4
5
6
7
8
9
10
11
12
13 package com.eviware.soapui.model.iface;
14
15 import java.util.Vector;
16
17 import com.eviware.soapui.model.ModelItem;
18 import com.eviware.soapui.model.testsuite.ResultContainer;
19 import com.eviware.soapui.support.types.StringToStringMap;
20
21 /***
22 * An exchange of a request and response message
23 *
24 * @author ole.matzura
25 */
26
27 public interface MessageExchange extends ResultContainer
28 {
29 public Operation getOperation();
30
31 public ModelItem getModelItem();
32
33 public long getTimestamp();
34
35 public long getTimeTaken();
36
37 public StringToStringMap getProperties();
38
39 public String getRequestContent();
40
41 public String getResponseContent();
42
43 public StringToStringMap getRequestHeaders();
44
45 public StringToStringMap getResponseHeaders();
46
47 public Attachment [] getRequestAttachments();
48
49 public Attachment [] getResponseAttachments();
50
51 public String [] getMessages();
52
53 public boolean isDiscarded();
54
55 public boolean hasRawData();
56
57 public byte[] getRawRequestData();
58
59 public byte[] getRawResponseData();
60
61 public Attachment [] getRequestAttachmentsForPart( String partName );
62
63 public Attachment [] getResponseAttachmentsForPart( String partName );
64
65 public boolean hasRequest( boolean ignoreEmpty );
66
67 public boolean hasResponse();
68
69 public Vector getRequestWssResult();
70
71 public Vector getResponseWssResult();
72 }