public class HTTPExecutedCall
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_HTTP_REQUEST_CONTENT_SIZE
The default value for the max stored http request content in bytes.
|
static int |
DEFAULT_MAX_HTTP_RESPONSE_CONTENT_SIZE
The default value for the max stored http response content in bytes.
|
| Constructor and Description |
|---|
HTTPExecutedCall(HTTPResponse httpResponse)
Create a new instance by applying the default values for the max stored http request and response content.
|
HTTPExecutedCall(HTTPResponse httpResponse,
int maxHttpRequestContentSize,
int maxHttpResponseContentSize)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
dumpToTextLines()
Dump the data of the executed HTTP call to a list of text lines.
|
boolean |
isHttpCallFailed()
Get if the HTTP call was failed.
|
boolean |
isRequestContentTooLarge()
Get if the HTTP request content was too large to be stored.
|
boolean |
isResponseContentTooLarge()
Get if the HTTP response content was too large to be stored.
|
public static final int DEFAULT_MAX_HTTP_REQUEST_CONTENT_SIZE
public static final int DEFAULT_MAX_HTTP_RESPONSE_CONTENT_SIZE
public HTTPExecutedCall(HTTPResponse httpResponse)
httpResponse - the HTTP response of the executed HTTP callDEFAULT_MAX_HTTP_REQUEST_CONTENT_SIZE,
DEFAULT_MAX_HTTP_RESPONSE_CONTENT_SIZE,
isRequestContentTooLarge(),
isResponseContentTooLarge()public HTTPExecutedCall(HTTPResponse httpResponse, int maxHttpRequestContentSize, int maxHttpResponseContentSize)
httpResponse - the HTTP response of the executed HTTP callmaxHttpRequestContentSize - the max stored http request content in bytesmaxHttpResponseContentSize - the max stored http response content in bytesisRequestContentTooLarge(),
isResponseContentTooLarge()public boolean isHttpCallFailed()
public boolean isRequestContentTooLarge()
public boolean isResponseContentTooLarge()
public java.util.List<java.lang.String> dumpToTextLines()