|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of HttpResponse in org.mockserver.client.netty |
|---|
| Methods in org.mockserver.client.netty that return HttpResponse | |
|---|---|
HttpResponse |
NettyHttpClient.sendRequest(OutboundHttpRequest httpRequest)
|
HttpResponse |
NettyHttpClient.sendRequest(OutboundHttpRequest httpRequest,
boolean retryIfSslFails)
|
| Methods in org.mockserver.client.netty that return types with arguments of type HttpResponse | |
|---|---|
com.google.common.util.concurrent.SettableFuture<HttpResponse> |
HttpClientInitializer.getResponseFuture()
|
com.google.common.util.concurrent.SettableFuture<HttpResponse> |
HttpClientHandler.getResponseFuture()
|
| Methods in org.mockserver.client.netty with parameters of type HttpResponse | |
|---|---|
void |
HttpClientHandler.channelRead0(io.netty.channel.ChannelHandlerContext ctx,
HttpResponse response)
|
| Uses of HttpResponse in org.mockserver.client.serialization.java |
|---|
| Methods in org.mockserver.client.serialization.java with parameters of type HttpResponse | |
|---|---|
String |
HttpResponseToJavaSerializer.serializeAsJava(int numberOfSpacesToIndent,
HttpResponse httpResponse)
|
| Uses of HttpResponse in org.mockserver.client.serialization.model |
|---|
| Methods in org.mockserver.client.serialization.model that return HttpResponse | |
|---|---|
HttpResponse |
HttpResponseDTO.buildObject()
|
| Constructors in org.mockserver.client.serialization.model with parameters of type HttpResponse | |
|---|---|
HttpResponseDTO(HttpResponse httpResponse)
|
|
| Uses of HttpResponse in org.mockserver.client.serialization.serializers.response |
|---|
| Methods in org.mockserver.client.serialization.serializers.response with parameters of type HttpResponse | |
|---|---|
void |
HttpResponseSerializer.serialize(HttpResponse httpResponse,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider)
|
| Uses of HttpResponse in org.mockserver.filters |
|---|
| Methods in org.mockserver.filters that return HttpResponse | ||
|---|---|---|
|
Filters.applyOnResponseFilters(T httpRequest,
HttpResponse httpResponse)
|
|
HttpResponse |
ResponseFilter.onResponse(HttpRequest httpRequest,
HttpResponse httpResponse)
|
|
HttpResponse |
RequestResponseLogFilter.onResponse(HttpRequest httpRequest,
HttpResponse httpResponse)
|
|
HttpResponse |
RequestLogFilter.onResponse(HttpRequest httpRequest,
HttpResponse httpResponse)
|
|
| Methods in org.mockserver.filters that return types with arguments of type HttpResponse | |
|---|---|
List<HttpResponse> |
RequestResponseLogFilter.httpResponses(HttpRequest httpRequest)
|
| Methods in org.mockserver.filters with parameters of type HttpResponse | ||
|---|---|---|
|
Filters.applyOnResponseFilters(T httpRequest,
HttpResponse httpResponse)
|
|
HttpResponse |
ResponseFilter.onResponse(HttpRequest httpRequest,
HttpResponse httpResponse)
|
|
HttpResponse |
RequestResponseLogFilter.onResponse(HttpRequest httpRequest,
HttpResponse httpResponse)
|
|
HttpResponse |
RequestLogFilter.onResponse(HttpRequest httpRequest,
HttpResponse httpResponse)
|
|
| Uses of HttpResponse in org.mockserver.mappers |
|---|
| Methods in org.mockserver.mappers with parameters of type HttpResponse | |
|---|---|
static Charset |
ContentTypeMapper.determineCharsetForMessage(HttpResponse httpResponse)
|
void |
MockServerResponseToHttpServletResponseEncoder.mapMockServerResponseToHttpServletResponse(HttpResponse httpResponse,
javax.servlet.http.HttpServletResponse httpServletResponse)
|
| Uses of HttpResponse in org.mockserver.mock |
|---|
| Methods in org.mockserver.mock that return HttpResponse | |
|---|---|
HttpResponse |
Expectation.getHttpResponse()
|
HttpResponse |
Expectation.getHttpResponse(boolean applyDelay)
|
| Methods in org.mockserver.mock with parameters of type HttpResponse | |
|---|---|
Expectation |
Expectation.thenRespond(HttpResponse httpResponse)
|
| Uses of HttpResponse in org.mockserver.mock.action |
|---|
| Methods in org.mockserver.mock.action that return HttpResponse | |
|---|---|
HttpResponse |
HttpCallbackActionHandler.handle(HttpCallback httpCallback,
HttpRequest httpRequest)
|
HttpResponse |
HttpForwardActionHandler.handle(HttpForward httpForward,
HttpRequest httpRequest)
|
HttpResponse |
ExpectationCallback.handle(HttpRequest httpRequest)
Called for every request when expectation condition has been satisfied. |
HttpResponse |
HttpResponseActionHandler.handle(HttpResponse httpResponse)
|
HttpResponse |
ActionHandler.processAction(Action action,
HttpRequest httpRequest)
|
| Methods in org.mockserver.mock.action with parameters of type HttpResponse | |
|---|---|
HttpResponse |
HttpResponseActionHandler.handle(HttpResponse httpResponse)
|
| Uses of HttpResponse in org.mockserver.model |
|---|
| Methods in org.mockserver.model that return HttpResponse | |
|---|---|
HttpResponse |
HttpResponse.applyDelay()
|
static HttpResponse |
HttpResponse.notFoundResponse()
|
static HttpResponse |
HttpResponse.response()
|
static HttpResponse |
HttpResponse.response(String body)
|
HttpResponse |
HttpResponse.shallowClone()
|
HttpResponse |
HttpResponse.updateHeader(Header header)
Update header to return as a Header object, if a header with the same name already exists it will be modified |
HttpResponse |
HttpResponse.updateHeader(String name,
String... values)
Update header to return as a Header object, if a header with the same name already exists it will be modified |
HttpResponse |
HttpResponse.withBody(Body body)
Set the body to return for example: string body: - exact(" |
HttpResponse |
HttpResponse.withBody(byte[] body)
Set response body to return as binary such as a pdf or image |
HttpResponse |
HttpResponse.withBody(String body)
Set response body to return as a string response body. |
HttpResponse |
HttpResponse.withBody(String body,
Charset charset)
Set response body to return a string response body with the specified encoding. |
HttpResponse |
HttpResponse.withConnectionOptions(ConnectionOptions connectionOptions)
The connection options for override the default connection behaviour, this allows full control of headers such as "Connection" or "Content-Length" or controlling whether the socket is closed after the response has been sent |
HttpResponse |
HttpResponse.withCookie(Cookie cookie)
Add cookie to return as Set-Cookie header |
HttpResponse |
HttpResponse.withCookie(String name,
String value)
Add cookie to return as Set-Cookie header |
HttpResponse |
HttpResponse.withCookies(Cookie... cookies)
The cookies to return as Set-Cookie headers as a varargs of Cookie objects |
HttpResponse |
HttpResponse.withCookies(List<Cookie> cookies)
The cookies to return as Set-Cookie headers as a list of Cookie objects |
HttpResponse |
HttpResponse.withDelay(Delay delay)
The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3) |
HttpResponse |
HttpResponse.withDelay(TimeUnit timeUnit,
long value)
The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3) |
HttpResponse |
HttpResponse.withHeader(Header header)
Add a header to return as a Header object, if a header with the same name already exists this will NOT be modified but two headers will exist |
HttpResponse |
HttpResponse.withHeader(String name,
String... values)
Add a header to return as a Header object, if a header with the same name already exists this will NOT be modified but two headers will exist |
HttpResponse |
HttpResponse.withHeaders(Header... headers)
The headers to return as a varargs of Header objects |
HttpResponse |
HttpResponse.withHeaders(List<Header> headers)
The headers to return as a list of Header objects |
HttpResponse |
HttpResponse.withStatusCode(Integer statusCode)
The status code to return, such as 200, 404, the status code specified here will result in the default status message for this status code for example for 200 the status message "OK" is used |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||