|
||||||||||
| 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(HttpRequest httpRequest)
|
HttpResponse |
NettyHttpClient.sendRequest(HttpRequest httpRequest,
InetSocketAddress remoteAddress)
|
| 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.netty.codec.mappers |
|---|
| Methods in org.mockserver.client.netty.codec.mappers that return HttpResponse | |
|---|---|
HttpResponse |
FullHttpResponseToMockServerResponse.mapMockServerResponseToFullHttpResponse(io.netty.handler.codec.http.FullHttpResponse fullHttpResponse)
|
| Uses of HttpResponse in org.mockserver.client.serialization |
|---|
| Methods in org.mockserver.client.serialization that return HttpResponse | |
|---|---|
HttpResponse |
HttpResponseSerializer.deserialize(String jsonHttpResponse)
|
HttpResponse[] |
HttpResponseSerializer.deserializeArray(String jsonHttpResponses)
|
| Methods in org.mockserver.client.serialization that return types with arguments of type HttpResponse | |
|---|---|
Class<HttpResponse> |
HttpResponseSerializer.supportsType()
|
| Methods in org.mockserver.client.serialization with parameters of type HttpResponse | |
|---|---|
String |
HttpResponseSerializer.serialize(HttpResponse... httpResponses)
|
String |
HttpResponseSerializer.serialize(HttpResponse httpResponse)
|
| Method parameters in org.mockserver.client.serialization with type arguments of type HttpResponse | |
|---|---|
String |
HttpResponseSerializer.serialize(List<HttpResponse> httpResponses)
|
| 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.cors |
|---|
| Methods in org.mockserver.cors with parameters of type HttpResponse | |
|---|---|
void |
CORSHeaders.addCORSHeaders(HttpResponse response)
|
| Uses of HttpResponse in org.mockserver.echo.http |
|---|
| Fields in org.mockserver.echo.http with type parameters of type HttpResponse | |
|---|---|
Queue<HttpResponse> |
EchoServer.NextResponse.httpResponse
|
| Methods in org.mockserver.echo.http with parameters of type HttpResponse | |
|---|---|
EchoServer |
EchoServer.withNextResponse(HttpResponse... httpResponses)
|
| 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()
|
| 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(HttpClassCallback httpClassCallback,
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 builder to create a not found response. |
static HttpResponse |
HttpResponse.response()
Static builder to create a response. |
static HttpResponse |
HttpResponse.response(String body)
Static builder to create a response with a 200 status code and the string response 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(BodyWithContentType 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 |
| Uses of HttpResponse in org.mockserver.server.netty.codec |
|---|
| Methods in org.mockserver.server.netty.codec with parameters of type HttpResponse | |
|---|---|
protected void |
MockServerResponseEncoder.encode(io.netty.channel.ChannelHandlerContext ctx,
HttpResponse response,
List<Object> out)
|
io.netty.handler.codec.http.DefaultFullHttpResponse |
MockServerResponseEncoder.encode(HttpResponse response)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||