public class BaseMockResult
Constructor and description |
---|
BaseMockResult
(MockRequestType request) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addHeader(java.lang.String name, java.lang.String value) |
|
void |
finish() |
|
ActionList |
getActions() |
|
MockOperation |
getMockOperation() |
|
MockRequestType |
getMockRequest() |
|
MockResponse |
getMockResponse() |
|
java.io.OutputStream |
getOutputStream() |
|
byte[] |
getRawResponseData() |
|
java.lang.String |
getResponseContent() |
|
java.lang.String |
getResponseContentType() |
|
StringToStringsMap |
getResponseHeaders() |
|
long |
getTimeTaken() |
|
long |
getTimestamp() |
|
boolean |
isCommitted() |
|
boolean |
isDiscarded() |
|
void |
setContentType(java.lang.String contentType) |
|
void |
setMockOperation(MockOperationType mockOperation) |
|
void |
setMockResponse(MockResponse mockResponse) |
|
void |
setRawResponseData(byte[] rawResponseData) |
|
void |
setResponseContent(java.lang.String responseContent) |
|
void |
setTimeTaken(long timeTaken) |
|
void |
setTimestamp(long timestamp) |
|
java.lang.String |
toString() |
|
void |
writeRawResponseData(byte[] bs) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |