01: /*
02: * soapUI, copyright (C) 2004-2007 eviware.com
03: *
04: * soapUI is free software; you can redistribute it and/or modify it under the
05: * terms of version 2.1 of the GNU Lesser General Public License as published by
06: * the Free Software Foundation.
07: *
08: * soapUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
09: * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10: * See the GNU Lesser General Public License for more details at gnu.org.
11: */
12:
13: package com.eviware.soapui.model.mock;
14:
15: import com.eviware.soapui.model.ModelItem;
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 ModelItem {
26: public final static String RESPONSECONTENT_PROPERTY = MockResponse.class
27: .getName()
28: + "@responsecontent";
29: public final static String ATTACHMENTS_PROPERTY = MockResponse.class
30: .getName()
31: + "@attachments";
32: public final static String ENCODING_PROPERTY = MockResponse.class
33: .getName()
34: + "@encoding";
35: public final static String MTOM_NABLED_PROPERTY = MockResponse.class
36: .getName()
37: + "@mtom_enabled";
38:
39: public String getResponseContent();
40:
41: public String getEncoding();
42:
43: public boolean isMtomEnabled();
44:
45: public Attachment[] getAttachments();
46:
47: public MockOperation getMockOperation();
48:
49: public StringToStringMap getResponseHeaders();
50:
51: public MockResult getMockResult();
52: }
|