1
2
3
4
5
6
7
8
9
10
11
12
13 package com.eviware.soapui.model.mock;
14
15 import com.eviware.soapui.model.TestModelItem;
16 import com.eviware.soapui.model.iface.Attachment;
17 import com.eviware.soapui.support.types.StringToStringMap;
18
19 /***
20 * A MockResponse returned by a MockOperation
21 *
22 * @author ole.matzura
23 */
24
25 public interface MockResponse extends TestModelItem
26 {
27 public final static String RESPONSE_CONTENT_PROPERTY = MockResponse.class.getName() + "@responsecontent";
28 public final static String ATTACHMENTS_PROPERTY = MockResponse.class.getName() + "@attachments";
29 public final static String ENCODING_PROPERTY = MockResponse.class.getName() + "@encoding";
30 public final static String MTOM_NABLED_PROPERTY = MockResponse.class.getName() + "@mtom_enabled";
31
32 public String getResponseContent();
33
34 public void setResponseContent( String responseContent );
35
36 public String getEncoding();
37
38 public boolean isMtomEnabled();
39
40 public Attachment [] getAttachments();
41
42 public MockOperation getMockOperation();
43
44 public StringToStringMap getResponseHeaders();
45
46 public MockResult getMockResult();
47 }