Uses of Class
org.mockserver.model.HttpRequest
-
-
Uses of HttpRequest in org.mockserver.callback
Methods in org.mockserver.callback with parameters of type HttpRequest Modifier and Type Method Description voidWebSocketRequestCallback. handle(HttpRequest httpRequest)booleanWebSocketClientRegistry. sendClientMessage(String clientId, HttpRequest httpRequest) -
Uses of HttpRequest in org.mockserver.client
Methods in org.mockserver.client that return HttpRequest Modifier and Type Method Description HttpRequest[]MockServerClient. retrieveRecordedRequests(HttpRequest httpRequest)Retrieve the recorded requests that match the httpRequest parameter, use null for the parameter to retrieve all requestsMethods in org.mockserver.client with parameters of type HttpRequest Modifier and Type Method Description MockServerClientMockServerClient. clear(HttpRequest httpRequest)Clear all expectations and logs that match the httpMockServerClientMockServerClient. clear(HttpRequest httpRequest, ClearType type)Clear expectations, logs or both that match the httpExpectation[]MockServerClient. retrieveActiveExpectations(HttpRequest httpRequest)Retrieve the active expectations match the httpRequest parameter, use null for the parameter to retrieve all expectationsStringMockServerClient. retrieveActiveExpectations(HttpRequest httpRequest, Format format)Retrieve the active expectations match the httpRequest parameter, use null for the parameter to retrieve all expectationsStringMockServerClient. retrieveLogMessages(HttpRequest httpRequest)Retrieve the logs associated to a specific requests, this shows all logs for expectation matching, verification, clearing, etcString[]MockServerClient. retrieveLogMessagesArray(HttpRequest httpRequest)Retrieve the logs associated to a specific requests, this shows all logs for expectation matching, verification, clearing, etcExpectation[]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 requestsStringMockServerClient. 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 requestsHttpRequest[]MockServerClient. retrieveRecordedRequests(HttpRequest httpRequest)Retrieve the recorded requests that match the httpRequest parameter, use null for the parameter to retrieve all requestsStringMockServerClient. retrieveRecordedRequests(HttpRequest httpRequest, Format format)Retrieve the recorded requests that match the httpRequest parameter, use null for the parameter to retrieve all requestsHttpRequestAndHttpResponse[]MockServerClient. retrieveRecordedRequestsAndResponses(HttpRequest httpRequest)Retrieve the recorded requests and responses that match the httpRequest parameter, use null for the parameter to retrieve all requests and responsesStringMockServerClient. retrieveRecordedRequestsAndResponses(HttpRequest httpRequest, Format format)Retrieve the recorded requests that match the httpRequest parameter, use null for the parameter to retrieve all requestsCompletableFuture<HttpResponse>NettyHttpClient. sendRequest(HttpRequest httpRequest)HttpResponseNettyHttpClient. sendRequest(HttpRequest httpRequest, long timeout, TimeUnit unit)CompletableFuture<HttpResponse>NettyHttpClient. sendRequest(HttpRequest httpRequest, InetSocketAddress remoteAddress)CompletableFuture<HttpResponse>NettyHttpClient. sendRequest(HttpRequest httpRequest, InetSocketAddress remoteAddress, Integer connectionTimeoutMillis)MockServerClientMockServerClient. verify(HttpRequest... httpRequests)Verify a list of requests have been sent in the order specified for example:MockServerClientMockServerClient. verify(HttpRequest httpRequest, VerificationTimes times)Verify a request has been sent for example:ForwardChainExpectationMockServerClient. when(HttpRequest httpRequest)Specify an unlimited expectation that will respond regardless of the number of matching http for example:ForwardChainExpectationMockServerClient. when(HttpRequest httpRequest, Times times)Specify an limited expectation that will respond a specified number of times when the http is matched for example:ForwardChainExpectationMockServerClient. 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: -
Uses of HttpRequest in org.mockserver.codec
Methods in org.mockserver.codec that return HttpRequest Modifier and Type Method Description HttpRequestMockServerRequestDecoder. decode(io.netty.handler.codec.http.FullHttpRequest fullHttpRequest)Methods in org.mockserver.codec with parameters of type HttpRequest Modifier and Type Method Description protected voidMockServerRequestEncoder. encode(io.netty.channel.ChannelHandlerContext ctx, HttpRequest httpRequest, List<Object> out) -
Uses of HttpRequest in org.mockserver.codec.mappers
Methods in org.mockserver.codec.mappers with parameters of type HttpRequest Modifier and Type Method Description StringMockServerHttpRequestToFullHttpRequest. getURI(HttpRequest httpRequest)io.netty.handler.codec.http.FullHttpRequestMockServerHttpRequestToFullHttpRequest. mapMockServerResponseToHttpServletResponse(HttpRequest httpRequest) -
Uses of HttpRequest in org.mockserver.cors
Methods in org.mockserver.cors with parameters of type HttpRequest Modifier and Type Method Description voidCORSHeaders. addCORSHeaders(HttpRequest request, HttpResponse response)static booleanCORSHeaders. isPreflightRequest(HttpRequest request) -
Uses of HttpRequest in org.mockserver.dashboard
Methods in org.mockserver.dashboard with parameters of type HttpRequest Modifier and Type Method Description voidDashboardHandler. renderDashboard(io.netty.channel.ChannelHandlerContext ctx, HttpRequest request) -
Uses of HttpRequest in org.mockserver.dashboard.model
Methods in org.mockserver.dashboard.model that return HttpRequest Modifier and Type Method Description HttpRequestLogEntryDTO. getHttpRequest()HttpRequest[]LogEntryDTO. getHttpRequests()Methods in org.mockserver.dashboard.model with parameters of type HttpRequest Modifier and Type Method Description LogEntryDTOLogEntryDTO. setHttpRequest(HttpRequest httpRequest)LogEntryDTOLogEntryDTO. setHttpRequests(HttpRequest[] httpRequests) -
Uses of HttpRequest in org.mockserver.echo.http
Methods in org.mockserver.echo.http with parameters of type HttpRequest Modifier and Type Method Description protected voidEchoServerHandler. channelRead0(io.netty.channel.ChannelHandlerContext ctx, HttpRequest request) -
Uses of HttpRequest in org.mockserver.filters
Methods in org.mockserver.filters that return HttpRequest Modifier and Type Method Description HttpRequestHopByHopHeaderFilter. onRequest(HttpRequest request)Methods in org.mockserver.filters with parameters of type HttpRequest Modifier and Type Method Description HttpRequestHopByHopHeaderFilter. onRequest(HttpRequest request) -
Uses of HttpRequest in org.mockserver.integration.callback
Fields in org.mockserver.integration.callback with type parameters of type HttpRequest Modifier and Type Field Description static List<HttpRequest>StaticTestExpectationResponseCallback. httpRequestsMethods in org.mockserver.integration.callback that return HttpRequest Modifier and Type Method Description HttpRequestPrecannedTestExpectationForwardCallback. handle(HttpRequest httpRequest)Methods in org.mockserver.integration.callback with parameters of type HttpRequest Modifier and Type Method Description HttpRequestPrecannedTestExpectationForwardCallback. handle(HttpRequest httpRequest)HttpResponsePrecannedTestExpectationResponseCallback. handle(HttpRequest httpRequest)HttpResponseStaticTestExpectationResponseCallback. handle(HttpRequest httpRequest) -
Uses of HttpRequest in org.mockserver.integration.server
Methods in org.mockserver.integration.server with parameters of type HttpRequest Modifier and Type Method Description protected HttpResponseAbstractMockingIntegrationTestBase. makeRequest(HttpRequest httpRequest, Collection<String> headersToIgnore)protected voidAbstractMockingIntegrationTestBase. verifyRequestsMatches(HttpRequest[] httpRequests, HttpRequest... httpRequestMatchers) -
Uses of HttpRequest in org.mockserver.log
Methods in org.mockserver.log with parameters of type HttpRequest Modifier and Type Method Description voidMockServerEventLog. clear(HttpRequest httpRequest)<T> voidMockServerEventLog. retrieveLogEntriesInReverse(HttpRequest httpRequest, Predicate<LogEntry> logEntryPredicate, Function<LogEntry,T> logEntryMapper, Consumer<Stream<T>> consumer)voidMockServerEventLog. retrieveMessageLogEntries(HttpRequest httpRequest, Consumer<List<LogEntry>> listConsumer)voidMockServerEventLog. retrieveRecordedExpectationLogEntries(HttpRequest httpRequest, Consumer<List<LogEntry>> listConsumer)voidMockServerEventLog. retrieveRecordedExpectations(HttpRequest httpRequest, Consumer<List<Expectation>> listConsumer)voidMockServerEventLog. retrieveRequestLogEntries(HttpRequest httpRequest, Consumer<List<LogEntry>> listConsumer)voidMockServerEventLog. retrieveRequestResponseMessageLogEntries(HttpRequest httpRequest, Consumer<List<LogEntry>> listConsumer)voidMockServerEventLog. retrieveRequestResponses(HttpRequest httpRequest, Consumer<List<HttpRequestAndHttpResponse>> listConsumer)voidMockServerEventLog. retrieveRequests(HttpRequest httpRequest, Consumer<List<HttpRequest>> listConsumer)Method parameters in org.mockserver.log with type arguments of type HttpRequest Modifier and Type Method Description voidMockServerEventLog. retrieveRequests(HttpRequest httpRequest, Consumer<List<HttpRequest>> listConsumer) -
Uses of HttpRequest in org.mockserver.log.model
Methods in org.mockserver.log.model that return HttpRequest Modifier and Type Method Description HttpRequestLogEntry. getHttpRequest()HttpRequest[]LogEntry. getHttpRequests()Methods in org.mockserver.log.model that return types with arguments of type HttpRequest Modifier and Type Method Description List<HttpRequest>LogEntry. getHttpRequests(HttpRequestMatcher matcher)Methods in org.mockserver.log.model with parameters of type HttpRequest Modifier and Type Method Description LogEntryLogEntry. setHttpRequest(HttpRequest httpRequest)LogEntryLogEntry. setHttpRequests(HttpRequest[] httpRequests) -
Uses of HttpRequest in org.mockserver.mappers
Methods in org.mockserver.mappers that return HttpRequest Modifier and Type Method Description HttpRequestHttpServletRequestToMockServerRequestDecoder. mapHttpServletRequestToMockServerRequest(javax.servlet.http.HttpServletRequest httpServletRequest) -
Uses of HttpRequest in org.mockserver.matchers
Methods in org.mockserver.matchers with parameters of type HttpRequest Modifier and Type Method Description booleanBinaryMatcher. matches(HttpRequest context, byte[] matched)booleanBooleanMatcher. matches(HttpRequest context, Boolean matched)booleanExactStringMatcher. matches(HttpRequest context, String matched)booleanExactStringMatcher. matches(HttpRequest context, NottableString matched)booleanHashMapMatcher. matches(HttpRequest context, KeysAndValues values)booleanHttpRequestMatcher. matches(HttpRequest request)booleanHttpRequestMatcher. matches(HttpRequest context, HttpRequest request)booleanJsonPathMatcher. matches(HttpRequest context, String matched)booleanJsonSchemaMatcher. matches(HttpRequest context, String matched)booleanJsonStringMatcher. matches(HttpRequest context, String matched)booleanMatcher. matches(HttpRequest context, T t)booleanMultiValueMapMatcher. matches(HttpRequest context, KeysToMultiValues values)booleanParameterStringMatcher. matches(HttpRequest context, String matched)booleanRegexStringMatcher. matches(HttpRequest context, NottableString matched)booleanSubStringMatcher. matches(HttpRequest context, String matched)booleanSubStringMatcher. matches(HttpRequest context, NottableString matched)booleanXmlSchemaMatcher. matches(HttpRequest context, String matched)booleanXmlStringMatcher. matches(HttpRequest context, NottableString matched)booleanXPathMatcher. matches(HttpRequest context, String matched)HttpRequestMatcherMatcherBuilder. transformsToMatcher(HttpRequest httpRequest)Constructors in org.mockserver.matchers with parameters of type HttpRequest Constructor Description HttpRequestMatcher(MockServerLogger mockServerLogger, HttpRequest httpRequest) -
Uses of HttpRequest in org.mockserver.mock
Methods in org.mockserver.mock that return HttpRequest Modifier and Type Method Description HttpRequestExpectation. getHttpRequest()Methods in org.mockserver.mock with parameters of type HttpRequest Modifier and Type Method Description voidHttpStateHandler. clear(HttpRequest request)voidMockServerMatcher. clear(HttpRequest httpRequest)booleanExpectation. contains(HttpRequest httpRequest)ExpectationHttpStateHandler. firstMatchingExpectation(HttpRequest request)ExpectationMockServerMatcher. firstMatchingExpectation(HttpRequest httpRequest)booleanHttpStateHandler. handle(HttpRequest request, ResponseWriter responseWriter, boolean warDeployment)HttpResponseHttpStateHandler. retrieve(HttpRequest request)List<Expectation>MockServerMatcher. retrieveActiveExpectations(HttpRequest httpRequest)Constructors in org.mockserver.mock with parameters of type HttpRequest Constructor Description Expectation(HttpRequest httpRequest)Expectation(HttpRequest httpRequest, Times times, TimeToLive timeToLive) -
Uses of HttpRequest in org.mockserver.mock.action
Methods in org.mockserver.mock.action that return HttpRequest Modifier and Type Method Description HttpRequestHttpForwardActionResult. getHttpRequest()HttpRequestExpectationForwardCallback. handle(HttpRequest httpRequest)Called for every request when expectation condition has been satisfied.Methods in org.mockserver.mock.action with parameters of type HttpRequest Modifier and Type Method Description TExpectationCallback. handle(HttpRequest httpRequest)Called for every request when expectation condition has been satisfied.HttpRequestExpectationForwardCallback. handle(HttpRequest httpRequest)Called for every request when expectation condition has been satisfied.HttpResponseExpectationResponseCallback. handle(HttpRequest httpRequest)Called for every request when expectation condition has been satisfied.HttpForwardActionResultHttpForwardActionHandler. handle(HttpForward httpForward, HttpRequest httpRequest)HttpForwardActionResultHttpForwardClassCallbackActionHandler. handle(HttpClassCallback httpClassCallback, HttpRequest request)voidHttpForwardObjectCallbackActionHandler. handle(ActionHandler actionHandler, HttpObjectCallback httpObjectCallback, HttpRequest request, ResponseWriter responseWriter, boolean synchronous)HttpForwardActionResultHttpForwardTemplateActionHandler. handle(HttpTemplate httpTemplate, HttpRequest originalRequest)HttpForwardActionResultHttpOverrideForwardedRequestActionHandler. handle(HttpOverrideForwardedRequest httpOverrideForwardedRequest, HttpRequest request)HttpResponseHttpResponseClassCallbackActionHandler. handle(HttpClassCallback httpClassCallback, HttpRequest request)voidHttpResponseObjectCallbackActionHandler. handle(ActionHandler actionHandler, HttpObjectCallback httpObjectCallback, HttpRequest request, ResponseWriter responseWriter, boolean synchronous)HttpResponseHttpResponseTemplateActionHandler. handle(HttpTemplate httpTemplate, HttpRequest httpRequest)voidActionHandler. processAction(HttpRequest request, ResponseWriter responseWriter, io.netty.channel.ChannelHandlerContext ctx, Set<String> localAddresses, boolean proxyingRequest, boolean synchronous)protected HttpForwardActionResultHttpForwardAction. sendRequest(HttpRequest request, InetSocketAddress remoteAddress, HttpResponse overriddenHttpResponse) -
Uses of HttpRequest in org.mockserver.mockserver
Methods in org.mockserver.mockserver with parameters of type HttpRequest Modifier and Type Method Description protected voidMockServerHandler. channelRead0(io.netty.channel.ChannelHandlerContext ctx, HttpRequest request) -
Uses of HttpRequest in org.mockserver.model
Methods in org.mockserver.model that return HttpRequest Modifier and Type Method Description HttpRequestHttpRequest. clone()HttpRequestHttpOverrideForwardedRequest. getHttpRequest()HttpRequestHttpRequestAndHttpResponse. getHttpRequest()HttpRequestHttpRequest. removeHeader(String name)HttpRequestHttpRequest. removeHeader(NottableString name)HttpRequestHttpRequest. 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 HttpRequestHttpRequest. request()static HttpRequestHttpRequest. request(String path)HttpRequestHttpRequest. update(HttpRequest replaceRequest)HttpRequestHttpRequest. withBody(byte[] body)The body to match on as binary data such as a pdf or imageHttpRequestHttpRequest. withBody(String body)The exact string body to match on such as "this is an exact string body"HttpRequestHttpRequest. withBody(String body, Charset charset)The exact string body to match on such as "this is an exact string body"HttpRequestHttpRequest. withBody(Body body)The body match rules on such as using one of the Body subclasses as follows:HttpRequestHttpRequest. 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)HttpRequestHttpRequest. 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)HttpRequestHttpRequest. 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)HttpRequestHttpRequest. 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)HttpRequestHttpRequest. 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)HttpRequestHttpRequest. withCookies(Cookies cookies)HttpRequestHttpRequest. 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)HttpRequestHttpRequest. 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)HttpRequestHttpRequest. 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)HttpRequestHttpRequest. 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)HttpRequestHttpRequest. 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)HttpRequestHttpRequest. withHeaders(Headers headers)HttpRequestHttpRequest. withKeepAlive(Boolean isKeepAlive)Match on whether the request was made using an HTTP persistent connection, also called HTTP keep-alive, or HTTP connection reuseHttpRequestHttpRequest. withMethod(String method)The HTTP method to match on such as "GET" or "POST"HttpRequestHttpRequest. 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")HttpRequestHttpRequest. 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 syntaxHttpRequestHttpRequest. 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 syntaxHttpRequestHttpRequest. 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)HttpRequestHttpRequest. 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)HttpRequestHttpRequest. 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)HttpRequestHttpRequest. 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)HttpRequestHttpRequest. withQueryStringParameters(Map<String,List<String>> parameters)The query string parameters to match on as a Map> 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) HttpRequestHttpRequest. 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)HttpRequestHttpRequest. withQueryStringParameters(Parameters parameters)HttpRequestHttpRequest. withSecure(Boolean isSsl)Match on whether the request was made over SSL (i.e.HttpRequestHttpRequest. withSocketAddress(String host, Integer port, SocketAddress.Scheme scheme)Specify remote address if the remote address can't be derived from the host header, if no value is specified the host header will be used to determine remote addressHttpRequestHttpRequest. withSocketAddress(SocketAddress socketAddress)Specify remote address if the remote address can't be derived from the host header, if no value is specified the host header will be used to determine remote addressMethods in org.mockserver.model with parameters of type HttpRequest Modifier and Type Method Description static HttpOverrideForwardedRequestHttpOverrideForwardedRequest. forwardOverriddenRequest(HttpRequest httpRequest)Static builder which will allow overriding proxied request with the specified request.static HttpOverrideForwardedRequestHttpOverrideForwardedRequest. forwardOverriddenRequest(HttpRequest httpRequest, HttpResponse httpResponse)Static builder which will allow overriding proxied request with the specified request.HttpRequestHttpRequest. update(HttpRequest replaceRequest)HttpOverrideForwardedRequestHttpOverrideForwardedRequest. withHttpRequest(HttpRequest httpRequest)All fields, headers, cookies, etc of the provided request will be overriddenHttpRequestAndHttpResponseHttpRequestAndHttpResponse. withHttpRequest(HttpRequest httpRequest) -
Uses of HttpRequest in org.mockserver.responsewriter
Methods in org.mockserver.responsewriter with parameters of type HttpRequest Modifier and Type Method Description protected HttpResponseResponseWriter. addConnectionHeader(HttpRequest request, HttpResponse response)voidNettyResponseWriter. writeResponse(HttpRequest request, io.netty.handler.codec.http.HttpResponseStatus responseStatus)voidNettyResponseWriter. writeResponse(HttpRequest request, io.netty.handler.codec.http.HttpResponseStatus responseStatus, String body, String contentType)voidNettyResponseWriter. writeResponse(HttpRequest request, HttpResponse response, boolean apiResponse)abstract voidResponseWriter. writeResponse(HttpRequest request, io.netty.handler.codec.http.HttpResponseStatus responseStatus)abstract voidResponseWriter. writeResponse(HttpRequest request, io.netty.handler.codec.http.HttpResponseStatus responseStatus, String body, String contentType)abstract voidResponseWriter. writeResponse(HttpRequest request, HttpResponse response, boolean apiResponse) -
Uses of HttpRequest in org.mockserver.serialization
Methods in org.mockserver.serialization that return HttpRequest Modifier and Type Method Description HttpRequestHttpRequestSerializer. deserialize(String jsonHttpRequest)HttpRequest[]HttpRequestSerializer. deserializeArray(String jsonHttpRequests)Methods in org.mockserver.serialization that return types with arguments of type HttpRequest Modifier and Type Method Description Class<HttpRequest>HttpRequestSerializer. supportsType()Methods in org.mockserver.serialization with parameters of type HttpRequest Modifier and Type Method Description StringHttpRequestSerializer. serialize(boolean prettyPrint, HttpRequest httpRequest)StringHttpRequestSerializer. serialize(boolean prettyPrint, HttpRequest... httpRequests)StringHttpRequestSerializer. serialize(HttpRequest httpRequest)StringHttpRequestSerializer. serialize(HttpRequest... httpRequests)Method parameters in org.mockserver.serialization with type arguments of type HttpRequest Modifier and Type Method Description StringHttpRequestSerializer. serialize(boolean prettyPrint, List<HttpRequest> httpRequests)StringHttpRequestSerializer. serialize(List<HttpRequest> httpRequests) -
Uses of HttpRequest in org.mockserver.serialization.curl
Methods in org.mockserver.serialization.curl with parameters of type HttpRequest Modifier and Type Method Description StringHttpRequestToCurlSerializer. toCurl(HttpRequest request)StringHttpRequestToCurlSerializer. toCurl(HttpRequest request, InetSocketAddress remoteAddress) -
Uses of HttpRequest in org.mockserver.serialization.java
Methods in org.mockserver.serialization.java with parameters of type HttpRequest Modifier and Type Method Description StringHttpRequestToJavaSerializer. serialize(int numberOfSpacesToIndent, HttpRequest request)Method parameters in org.mockserver.serialization.java with type arguments of type HttpRequest Modifier and Type Method Description StringHttpRequestToJavaSerializer. serialize(List<HttpRequest> httpRequests) -
Uses of HttpRequest in org.mockserver.serialization.model
Methods in org.mockserver.serialization.model that return HttpRequest Modifier and Type Method Description HttpRequestHttpRequestDTO. buildObject()Constructors in org.mockserver.serialization.model with parameters of type HttpRequest Constructor Description HttpRequestDTO(HttpRequest httpRequest)HttpRequestDTO(HttpRequest httpRequest, Boolean not) -
Uses of HttpRequest in org.mockserver.serialization.serializers.request
Methods in org.mockserver.serialization.serializers.request with parameters of type HttpRequest Modifier and Type Method Description voidHttpRequestSerializer. serialize(HttpRequest httpRequest, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) -
Uses of HttpRequest in org.mockserver.servlet.responsewriter
Methods in org.mockserver.servlet.responsewriter with parameters of type HttpRequest Modifier and Type Method Description voidServletResponseWriter. writeResponse(HttpRequest request, io.netty.handler.codec.http.HttpResponseStatus responseStatus)voidServletResponseWriter. writeResponse(HttpRequest request, io.netty.handler.codec.http.HttpResponseStatus responseStatus, String body, String contentType)voidServletResponseWriter. writeResponse(HttpRequest request, HttpResponse response, boolean apiResponse) -
Uses of HttpRequest in org.mockserver.templates.engine
Methods in org.mockserver.templates.engine with parameters of type HttpRequest Modifier and Type Method Description <T> TTemplateEngine. executeTemplate(String template, HttpRequest httpRequest, Class<? extends DTO<T>> dtoClass) -
Uses of HttpRequest in org.mockserver.templates.engine.javascript
Methods in org.mockserver.templates.engine.javascript with parameters of type HttpRequest Modifier and Type Method Description <T> TJavaScriptTemplateEngine. executeTemplate(String template, HttpRequest request, Class<? extends DTO<T>> dtoClass) -
Uses of HttpRequest in org.mockserver.templates.engine.model
Constructors in org.mockserver.templates.engine.model with parameters of type HttpRequest Constructor Description HttpRequestTemplateObject(HttpRequest httpRequest) -
Uses of HttpRequest in org.mockserver.templates.engine.serializer
Methods in org.mockserver.templates.engine.serializer with parameters of type HttpRequest Modifier and Type Method Description <T> THttpTemplateOutputDeserializer. deserializer(HttpRequest request, String json, Class<? extends DTO<T>> dtoClass) -
Uses of HttpRequest in org.mockserver.templates.engine.velocity
Methods in org.mockserver.templates.engine.velocity with parameters of type HttpRequest Modifier and Type Method Description <T> TVelocityTemplateEngine. executeTemplate(String template, HttpRequest request, Class<? extends DTO<T>> dtoClass) -
Uses of HttpRequest in org.mockserver.verify
Methods in org.mockserver.verify that return HttpRequest Modifier and Type Method Description HttpRequestVerification. getHttpRequest()Methods in org.mockserver.verify that return types with arguments of type HttpRequest Modifier and Type Method Description List<HttpRequest>VerificationSequence. getHttpRequests()Methods in org.mockserver.verify with parameters of type HttpRequest Modifier and Type Method Description VerificationVerification. withRequest(HttpRequest httpRequest)VerificationSequenceVerificationSequence. withRequests(HttpRequest... httpRequests)Method parameters in org.mockserver.verify with type arguments of type HttpRequest Modifier and Type Method Description VerificationSequenceVerificationSequence. withRequests(List<HttpRequest> httpRequests)
-