public abstract class AbstractMockResponse extends AbstractWsdlModelItem
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
AUTO_RESPONSE_COMPRESSION |
|
static java.lang.String |
NO_RESPONSE_COMPRESSION |
Constructor and description |
---|
AbstractMockResponse
(MockResponseConfigType config, MockOperation operation, java.lang.String icon) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addTestPropertyListener(TestPropertyListener listener) |
|
MessageXmlObject |
createMessageXmlObject(java.lang.String responseContent, WsdlOperation wsdlOperation) |
|
void |
evaluateScript(MockRequest request) |
|
MockResult |
execute(MockRequest request, MockResult result) |
|
java.lang.String |
getEncoding() |
|
MockResult |
getMockResult() |
|
ModelItem |
getModelItem() |
|
java.util.Map<java.lang.String, TestProperty> |
getProperties() |
|
TestProperty |
getProperty(java.lang.String name) |
|
TestProperty |
getPropertyAt(int index) |
|
int |
getPropertyCount() |
|
java.util.List<TestProperty> |
getPropertyList() |
|
java.lang.String[] |
getPropertyNames() |
|
java.lang.String |
getPropertyValue(java.lang.String name) |
|
java.lang.String |
getResponseCompression() |
|
java.lang.String |
getResponseContent() |
|
long |
getResponseDelay() |
|
StringToStringsMap |
getResponseHeaders() |
|
int |
getResponseHttpStatus() |
|
java.lang.String |
getScript() |
|
boolean |
hasProperty(java.lang.String name) |
|
boolean |
isEntitizeProperties() |
|
boolean |
isForceMtom() |
|
boolean |
isStripWhitespaces() |
|
boolean |
prepareMessagePart(MimeMultipart mp, StringToStringMap contentIds, MessageXmlPart requestPart) |
|
void |
release() |
|
void |
removeTestPropertyListener(TestPropertyListener listener) |
|
void |
setConfig(MockResponseConfigType config) |
|
void |
setEncoding(java.lang.String encoding) |
|
void |
setMockResult(MockResult mockResult) |
|
void |
setPropertyValue(java.lang.String name, java.lang.String value) |
|
void |
setResponseContent(java.lang.String responseContent) |
|
void |
setResponseHeaders(StringToStringsMap headers) |
|
void |
setResponseHttpStatus(int httpStatus) |
|
void |
setScript(java.lang.String script) |
|
java.lang.String |
writeResponse(MockResult result, java.lang.String responseContent) |