Modifier and Type | Method and Description |
---|---|
void |
WebSocketRequestCallback.handle(HttpRequest httpRequest) |
void |
WebSocketClientRegistry.sendClientMessage(String clientId,
HttpRequest httpRequest) |
Modifier and Type | Method and Description |
---|---|
HttpRequest[] |
MockServerClient.retrieveRecordedRequests(HttpRequest httpRequest)
Retrieve the recorded requests that match the httpRequest parameter, use null for the parameter to retrieve all requests
|
Modifier and Type | Method and Description |
---|---|
MockServerClient |
MockServerClient.clear(HttpRequest httpRequest)
Clear all expectations and logs that match the http
|
MockServerClient |
MockServerClient.clear(HttpRequest httpRequest,
ClearType type)
Clear expectations, logs or both that match the http
|
Expectation[] |
MockServerClient.retrieveActiveExpectations(HttpRequest httpRequest)
Retrieve the active expectations match the httpRequest parameter, use null for the parameter to retrieve all expectations
|
String |
MockServerClient.retrieveActiveExpectations(HttpRequest httpRequest,
Format format)
Retrieve the active expectations match the httpRequest parameter, use null for the parameter to retrieve all expectations
|
String |
MockServerClient.retrieveLogMessages(HttpRequest httpRequest)
Retrieve the logs associated to a specific requests, this shows all logs for expectation matching, verification, clearing, etc
|
String[] |
MockServerClient.retrieveLogMessagesArray(HttpRequest httpRequest)
Retrieve the logs associated to a specific requests, this shows all logs for expectation matching, verification, clearing, etc
|
Expectation[] |
MockServerClient.retrieveRecordedExpectations(HttpRequest httpRequest)
Retrieve the request-response combinations that have been recorded as a list of expectations, only those that match the httpRequest parameter are returned, use null to retrieve all requests
|
String |
MockServerClient.retrieveRecordedExpectations(HttpRequest httpRequest,
Format format)
Retrieve the request-response combinations that have been recorded as a list of expectations, only those that match the httpRequest parameter are returned, use null to retrieve all requests
|
HttpRequest[] |
MockServerClient.retrieveRecordedRequests(HttpRequest httpRequest)
Retrieve the recorded requests that match the httpRequest parameter, use null for the parameter to retrieve all requests
|
String |
MockServerClient.retrieveRecordedRequests(HttpRequest httpRequest,
Format format)
Retrieve the recorded requests that match the httpRequest parameter, use null for the parameter to retrieve all requests
|
MockServerClient |
MockServerClient.verify(HttpRequest... httpRequests)
Verify a list of requests have been sent in the order specified for example:
|
MockServerClient |
MockServerClient.verify(HttpRequest httpRequest,
VerificationTimes times)
Verify a request has been sent for example:
|
ForwardChainExpectation |
MockServerClient.when(HttpRequest httpRequest)
Specify an unlimited expectation that will respond regardless of the number of matching http
for example:
|
ForwardChainExpectation |
MockServerClient.when(HttpRequest httpRequest,
Times times)
Specify an limited expectation that will respond a specified number of times when the http is matched
for example:
|
ForwardChainExpectation |
MockServerClient.when(HttpRequest httpRequest,
Times times,
TimeToLive timeToLive)
Specify an limited expectation that will respond a specified number of times when the http is matched
for example:
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.SettableFuture<HttpResponse> |
NettyHttpClient.sendRequest(HttpRequest httpRequest) |
com.google.common.util.concurrent.SettableFuture<HttpResponse> |
NettyHttpClient.sendRequest(HttpRequest httpRequest,
InetSocketAddress remoteAddress) |
com.google.common.util.concurrent.SettableFuture<HttpResponse> |
NettyHttpClient.sendRequest(HttpRequest httpRequest,
InetSocketAddress remoteAddress,
Integer connectionTimeoutMillis) |
HttpResponse |
NettyHttpClient.sendRequest(HttpRequest httpRequest,
long timeout,
TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
protected void |
MockServerRequestEncoder.encode(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest httpRequest,
List<Object> out) |
Modifier and Type | Method and Description |
---|---|
String |
MockServerHttpRequestToFullHttpRequest.getURI(HttpRequest httpRequest) |
io.netty.handler.codec.http.FullHttpRequest |
MockServerHttpRequestToFullHttpRequest.mapMockServerResponseToHttpServletResponse(HttpRequest httpRequest) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequestSerializer.deserialize(String jsonHttpRequest) |
HttpRequest[] |
HttpRequestSerializer.deserializeArray(String jsonHttpRequests) |
Modifier and Type | Method and Description |
---|---|
Class<HttpRequest> |
HttpRequestSerializer.supportsType() |
Modifier and Type | Method and Description |
---|---|
String |
HttpRequestSerializer.serialize(boolean prettyPrint,
HttpRequest... httpRequests) |
String |
HttpRequestSerializer.serialize(boolean prettyPrint,
HttpRequest httpRequest) |
String |
HttpRequestSerializer.serialize(HttpRequest... httpRequests) |
String |
HttpRequestSerializer.serialize(HttpRequest httpRequest) |
Modifier and Type | Method and Description |
---|---|
String |
HttpRequestSerializer.serialize(boolean prettyPrint,
List<HttpRequest> httpRequests) |
String |
HttpRequestSerializer.serialize(List<HttpRequest> httpRequests) |
Modifier and Type | Method and Description |
---|---|
String |
HttpRequestToCurlSerializer.toCurl(HttpRequest request) |
String |
HttpRequestToCurlSerializer.toCurl(HttpRequest request,
InetSocketAddress remoteAddress) |
Modifier and Type | Method and Description |
---|---|
String |
HttpRequestToJavaSerializer.serialize(int numberOfSpacesToIndent,
HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
String |
HttpRequestToJavaSerializer.serialize(List<HttpRequest> httpRequests) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequestDTO.buildObject() |
Constructor and Description |
---|
HttpRequestDTO(HttpRequest httpRequest) |
HttpRequestDTO(HttpRequest httpRequest,
Boolean not) |
Modifier and Type | Method and Description |
---|---|
void |
HttpRequestSerializer.serialize(HttpRequest httpRequest,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
Modifier and Type | Method and Description |
---|---|
void |
CORSHeaders.addCORSHeaders(HttpRequest request,
HttpResponse response) |
static boolean |
CORSHeaders.isPreflightRequest(HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
void |
DashboardHandler.renderDashboard(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
protected void |
EchoServerHandler.channelRead0(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HopByHopHeaderFilter.onRequest(HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
List<HttpRequest> |
MockServerEventLog.retrieveRequests(HttpRequest httpRequest) |
Modifier and Type | Method and Description |
---|---|
void |
MockServerEventLog.clear(HttpRequest httpRequest) |
HttpRequest |
HopByHopHeaderFilter.onRequest(HttpRequest request) |
List<Expectation> |
MockServerEventLog.retrieveExpectations(HttpRequest httpRequest) |
List<MessageLogEntry> |
MockServerEventLog.retrieveMessageLogEntries(HttpRequest httpRequest) |
List<MessageLogEntry> |
MockServerEventLog.retrieveMessages(HttpRequest httpRequest) |
List<LogEntry> |
MockServerEventLog.retrieveRequestLogEntries(HttpRequest httpRequest) |
List<HttpRequest> |
MockServerEventLog.retrieveRequests(HttpRequest httpRequest) |
Modifier and Type | Field and Description |
---|---|
static List<HttpRequest> |
StaticTestExpectationResponseCallback.httpRequests |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
PrecannedTestExpectationForwardCallback.handle(HttpRequest httpRequest) |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
PrecannedTestExpectationResponseCallback.handle(HttpRequest httpRequest) |
HttpRequest |
PrecannedTestExpectationForwardCallback.handle(HttpRequest httpRequest) |
HttpResponse |
StaticTestExpectationResponseCallback.handle(HttpRequest httpRequest) |
Modifier and Type | Method and Description |
---|---|
protected HttpResponse |
AbstractMockingIntegrationTestBase.makeRequest(HttpRequest httpRequest,
Collection<String> headersToIgnore) |
protected void |
AbstractMockingIntegrationTestBase.verifyRequestsMatches(HttpRequest[] httpRequests,
HttpRequest... httpRequestMatchers) |
protected void |
AbstractMockingIntegrationTestBase.verifyRequestsMatches(HttpRequest[] httpRequests,
HttpRequest... httpRequestMatchers) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
LogEntry.getHttpRequest() |
Modifier and Type | Method and Description |
---|---|
List<HttpRequest> |
LogEntry.getHttpRequests() |
Constructor and Description |
---|
ExpectationMatchLogEntry(HttpRequest httpRequest,
Expectation expectation) |
MessageLogEntry(MessageLogEntry.LogMessageType type,
org.slf4j.event.Level logLevel,
HttpRequest httpRequest,
String messageFormat,
Object... arguments) |
RequestLogEntry(HttpRequest httpRequest) |
RequestResponseLogEntry(HttpRequest httpRequest,
HttpResponse httpResponse) |
Constructor and Description |
---|
MessageLogEntry(MessageLogEntry.LogMessageType type,
org.slf4j.event.Level logLevel,
List<HttpRequest> httpRequests,
String messageFormat,
Object... arguments) |
Modifier and Type | Method and Description |
---|---|
void |
MockServerLogger.debug(MessageLogEntry.LogMessageType type,
HttpRequest request,
String message,
Object... arguments) |
void |
MockServerLogger.error(HttpRequest request,
String message,
Object... arguments) |
void |
MockServerLogger.error(HttpRequest request,
Throwable throwable,
String message,
Object... arguments) |
void |
MockServerLogger.info(MessageLogEntry.LogMessageType type,
HttpRequest request,
String message,
Object... arguments) |
void |
MockServerLogger.trace(HttpRequest request,
String message,
Object... arguments) |
void |
MockServerLogger.warn(HttpRequest request,
String message,
Object... arguments) |
Modifier and Type | Method and Description |
---|---|
void |
MockServerLogger.error(List<HttpRequest> requests,
Throwable throwable,
String message,
Object... arguments) |
void |
MockServerLogger.info(MessageLogEntry.LogMessageType type,
List<HttpRequest> requests,
String message,
Object... arguments) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpServletRequestToMockServerRequestDecoder.mapHttpServletRequestToMockServerRequest(javax.servlet.http.HttpServletRequest httpServletRequest) |
Modifier and Type | Method and Description |
---|---|
boolean |
HttpRequestMatcher.matches(HttpRequest request) |
boolean |
BooleanMatcher.matches(HttpRequest context,
Boolean matched) |
boolean |
BinaryMatcher.matches(HttpRequest context,
byte[] matched) |
boolean |
HttpRequestMatcher.matches(HttpRequest context,
HttpRequest request) |
boolean |
HashMapMatcher.matches(HttpRequest context,
KeysAndValues values) |
boolean |
MultiValueMapMatcher.matches(HttpRequest context,
KeysToMultiValues values) |
boolean |
RegexStringMatcher.matches(HttpRequest context,
NottableString matched) |
boolean |
XmlStringMatcher.matches(HttpRequest context,
NottableString matched) |
boolean |
ExactStringMatcher.matches(HttpRequest context,
NottableString matched) |
boolean |
SubStringMatcher.matches(HttpRequest context,
NottableString matched) |
boolean |
XPathStringMatcher.matches(HttpRequest context,
String matched) |
boolean |
JsonStringMatcher.matches(HttpRequest context,
String matched) |
boolean |
ParameterStringMatcher.matches(HttpRequest context,
String matched) |
boolean |
XmlSchemaMatcher.matches(HttpRequest context,
String matched) |
boolean |
JsonSchemaMatcher.matches(HttpRequest context,
String matched) |
boolean |
ExactStringMatcher.matches(HttpRequest context,
String matched) |
boolean |
SubStringMatcher.matches(HttpRequest context,
String matched) |
boolean |
Matcher.matches(HttpRequest context,
T t) |
HttpRequestMatcher |
MatcherBuilder.transformsToMatcher(HttpRequest httpRequest) |
Constructor and Description |
---|
HttpRequestMatcher(HttpRequest httpRequest,
MockServerLogger mockServerLogger) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
Expectation.getHttpRequest() |
Modifier and Type | Method and Description |
---|---|
void |
MockServerMatcher.clear(HttpRequest httpRequest) |
void |
HttpStateHandler.clear(HttpRequest request) |
boolean |
Expectation.contains(HttpRequest httpRequest) |
Expectation |
MockServerMatcher.firstMatchingExpectation(HttpRequest httpRequest) |
Expectation |
HttpStateHandler.firstMatchingExpectation(HttpRequest request) |
boolean |
HttpStateHandler.handle(HttpRequest request,
ResponseWriter responseWriter,
boolean warDeployment) |
HttpResponse |
HttpStateHandler.retrieve(HttpRequest request) |
List<Expectation> |
MockServerMatcher.retrieveExpectations(HttpRequest httpRequest) |
Constructor and Description |
---|
Expectation(HttpRequest httpRequest) |
Expectation(HttpRequest httpRequest,
Times times,
TimeToLive timeToLive) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
ExpectationForwardCallback.handle(HttpRequest httpRequest)
Called for every request when expectation condition has been satisfied.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.SettableFuture<HttpResponse> |
HttpForwardClassCallbackActionHandler.handle(HttpClassCallback httpClassCallback,
HttpRequest request) |
HttpResponse |
HttpResponseClassCallbackActionHandler.handle(HttpClassCallback httpClassCallback,
HttpRequest request) |
com.google.common.util.concurrent.SettableFuture<HttpResponse> |
HttpForwardActionHandler.handle(HttpForward httpForward,
HttpRequest httpRequest) |
void |
HttpResponseObjectCallbackActionHandler.handle(HttpObjectCallback httpObjectCallback,
HttpRequest request,
ResponseWriter responseWriter) |
void |
HttpForwardObjectCallbackActionHandler.handle(HttpObjectCallback httpObjectCallback,
HttpRequest request,
ResponseWriter responseWriter,
boolean synchronous) |
com.google.common.util.concurrent.SettableFuture<HttpResponse> |
HttpOverrideForwardedRequestActionHandler.handle(HttpOverrideForwardedRequest httpOverrideForwardedRequest,
HttpRequest request) |
HttpRequest |
ExpectationForwardCallback.handle(HttpRequest httpRequest)
Called for every request when expectation condition has been satisfied.
|
HttpResponse |
ExpectationResponseCallback.handle(HttpRequest httpRequest)
Called for every request when expectation condition has been satisfied.
|
HttpResponse |
HttpResponseTemplateActionHandler.handle(HttpTemplate httpTemplate,
HttpRequest httpRequest) |
com.google.common.util.concurrent.SettableFuture<HttpResponse> |
HttpForwardTemplateActionHandler.handle(HttpTemplate httpTemplate,
HttpRequest originalRequest) |
void |
ActionHandler.processAction(HttpRequest request,
ResponseWriter responseWriter,
io.netty.channel.ChannelHandlerContext ctx,
Set<String> localAddresses,
boolean proxyThisRequest,
boolean synchronous) |
protected com.google.common.util.concurrent.SettableFuture<HttpResponse> |
HttpForwardAction.sendRequest(HttpRequest httpRequest,
InetSocketAddress remoteAddress) |
Modifier and Type | Method and Description |
---|---|
protected void |
MockServerHandler.channelRead0(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequest.clone() |
HttpRequest |
HttpOverrideForwardedRequest.getHttpRequest() |
HttpRequest |
HttpRequest.removeHeader(NottableString name) |
HttpRequest |
HttpRequest.removeHeader(String name) |
HttpRequest |
HttpRequest.replaceHeader(Header header)
Adds one header to match on as a Header object where the header values list can be a list of strings or regular expressions
(for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
static HttpRequest |
HttpRequest.request() |
static HttpRequest |
HttpRequest.request(String path) |
HttpRequest |
HttpRequest.update(HttpRequest replaceRequest) |
HttpRequest |
HttpRequest.withBody(Body body)
The body match rules on such as using one of the Body subclasses as follows:
|
HttpRequest |
HttpRequest.withBody(byte[] body)
The body to match on as binary data such as a pdf or image
|
HttpRequest |
HttpRequest.withBody(String body)
The exact string body to match on such as "this is an exact string body"
|
HttpRequest |
HttpRequest.withBody(String body,
Charset charset)
The exact string body to match on such as "this is an exact string body"
|
HttpRequest |
HttpRequest.withCookie(Cookie cookie)
Adds one cookie to match on as a Cookie object where the cookie values list can be a list of strings or regular expressions
(for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withCookie(NottableString name,
NottableString value)
Adds one cookie to match on or to not match on using the NottableString, each NottableString can either be a positive matching value,
such as string("match"), or a value to not match on, such as not("do not match"), the string values passed to the NottableString
can be a plain string or a regex (for more details of the supported regex syntax see
http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withCookie(String name,
String value)
Adds one cookie to match on, which can specified using either plain strings or regular expressions
(for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withCookies(Cookie... cookies)
The cookies to match on as a varags Cookie objects where the values or keys of each cookie can be either a string or a regex
(for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withCookies(Cookies cookies) |
HttpRequest |
HttpRequest.withCookies(List<Cookie> cookies)
The cookies to match on as a list of Cookie objects where the values or keys of each cookie can be either a string or a regex
(for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withHeader(Header header)
Adds one header to match on as a Header object where the header values list can be a list of strings or regular expressions
(for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withHeader(NottableString name,
NottableString... values)
Adds one header to match on or to not match on using the NottableString, each NottableString can either be a positive matching value,
such as string("match"), or a value to not match on, such as not("do not match"), the string values passed to the NottableString
can also be a plain string or a regex (for more details of the supported regex syntax
see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withHeader(String name,
String... values)
Adds one header to match which can specified using plain strings or regular expressions
(for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withHeaders(Header... headers)
The headers to match on as a varags of Header objects where the values or keys of each header can be either a string or a regex
(for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withHeaders(Headers headers) |
HttpRequest |
HttpRequest.withHeaders(List<Header> headers)
The headers to match on as a list of Header objects where the values or keys of each header can be either a string or a regex
(for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withKeepAlive(Boolean isKeepAlive)
Match on whether the request was made using an HTTP persistent connection, also called HTTP keep-alive, or HTTP connection reuse
|
HttpRequest |
HttpRequest.withMethod(NottableString method)
The HTTP method all method except a specific value using the "not" operator,
for example this allows operations such as not("GET")
|
HttpRequest |
HttpRequest.withMethod(String method)
The HTTP method to match on such as "GET" or "POST"
|
HttpRequest |
HttpRequest.withPath(NottableString path)
The path to not match on for example not("/some_mocked_path") with match any path not equal to "/some_mocked_path",
the servlet context path is ignored for matching and should not be specified here
regex values are also supported such as not(".*_path"), see
http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html for full details of the supported regex syntax
|
HttpRequest |
HttpRequest.withPath(String path)
The path to match on such as "/some_mocked_path" any servlet context path is ignored for matching and should not be specified here
regex values are also supported such as ".*_path", see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html
for full details of the supported regex syntax
|
HttpRequest |
HttpRequest.withQueryStringParameter(NottableString name,
NottableString... values)
Adds one query string parameter to match on or to not match on using the NottableString, each NottableString can either be a positive matching
value, such as string("match"), or a value to not match on, such as not("do not match"), the string values passed to the NottableString
can also be a plain string or a regex (for more details of the supported regex syntax
see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withQueryStringParameter(Parameter parameter)
Adds one query string parameter to match on as a Parameter object where the parameter values list can be a list of strings or regular expressions
(for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withQueryStringParameter(String name,
String... values)
Adds one query string parameter to match which can specified using plain strings or regular expressions
(for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withQueryStringParameters(List<Parameter> parameters)
The query string parameters to match on as a list of Parameter objects where the values or keys of each parameter can be either a string or a regex
(for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withQueryStringParameters(Map<String,List<String>> parameters)
The query string parameters to match on as a Map
|
HttpRequest |
HttpRequest.withQueryStringParameters(Parameter... parameters)
The query string parameters to match on as a varags Parameter objects where the values or keys of each parameter can be either a string or a regex
(for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
|
HttpRequest |
HttpRequest.withQueryStringParameters(Parameters parameters) |
HttpRequest |
HttpRequest.withSecure(Boolean isSsl)
Match on whether the request was made over SSL (i.e.
|
Modifier and Type | Method and Description |
---|---|
static HttpOverrideForwardedRequest |
HttpOverrideForwardedRequest.forwardOverriddenRequest(HttpRequest httpRequest)
Static builder which will allow overriding proxied request with the specified request.
|
HttpRequest |
HttpRequest.update(HttpRequest replaceRequest) |
HttpOverrideForwardedRequest |
HttpOverrideForwardedRequest.withHttpRequest(HttpRequest httpRequest)
All fields, headers, cookies, etc of the provided request will override
|
Modifier and Type | Method and Description |
---|---|
protected void |
ResponseWriter.addConnectionHeader(HttpRequest request,
HttpResponse response) |
void |
NettyResponseWriter.writeResponse(HttpRequest request,
HttpResponse response,
boolean apiResponse) |
abstract void |
ResponseWriter.writeResponse(HttpRequest request,
HttpResponse response,
boolean apiResponse) |
void |
NettyResponseWriter.writeResponse(HttpRequest request,
io.netty.handler.codec.http.HttpResponseStatus responseStatus) |
abstract void |
ResponseWriter.writeResponse(HttpRequest request,
io.netty.handler.codec.http.HttpResponseStatus responseStatus) |
void |
NettyResponseWriter.writeResponse(HttpRequest request,
io.netty.handler.codec.http.HttpResponseStatus responseStatus,
String body,
String contentType) |
abstract void |
ResponseWriter.writeResponse(HttpRequest request,
io.netty.handler.codec.http.HttpResponseStatus responseStatus,
String body,
String contentType) |
Modifier and Type | Method and Description |
---|---|
void |
ServletResponseWriter.writeResponse(HttpRequest request,
HttpResponse response,
boolean apiResponse) |
void |
ServletResponseWriter.writeResponse(HttpRequest request,
io.netty.handler.codec.http.HttpResponseStatus responseStatus) |
void |
ServletResponseWriter.writeResponse(HttpRequest request,
io.netty.handler.codec.http.HttpResponseStatus responseStatus,
String body,
String contentType) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
MockServerRequestDecoder.decode(io.netty.handler.codec.http.FullHttpRequest fullHttpRequest) |
Modifier and Type | Method and Description |
---|---|
<T> T |
TemplateEngine.executeTemplate(String template,
HttpRequest httpRequest,
Class<? extends DTO<T>> dtoClass) |
Modifier and Type | Method and Description |
---|---|
<T> T |
JavaScriptTemplateEngine.executeTemplate(String template,
HttpRequest request,
Class<? extends DTO<T>> dtoClass) |
Constructor and Description |
---|
HttpRequestTemplateObject(HttpRequest httpRequest) |
Modifier and Type | Method and Description |
---|---|
<T> T |
HttpTemplateOutputDeserializer.deserializer(HttpRequest request,
String json,
Class<? extends DTO<T>> dtoClass) |
Modifier and Type | Method and Description |
---|---|
<T> T |
VelocityTemplateEngine.executeTemplate(String template,
HttpRequest request,
Class<? extends DTO<T>> dtoClass) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
Verification.getHttpRequest() |
Modifier and Type | Method and Description |
---|---|
List<HttpRequest> |
VerificationSequence.getHttpRequests() |
Modifier and Type | Method and Description |
---|---|
Verification |
Verification.withRequest(HttpRequest httpRequest) |
VerificationSequence |
VerificationSequence.withRequests(HttpRequest... httpRequests) |
Modifier and Type | Method and Description |
---|---|
VerificationSequence |
VerificationSequence.withRequests(List<HttpRequest> httpRequests) |
Copyright © 2018. All rights reserved.