Uses of Class
org.mockserver.model.Header
Packages that use Header
Package
Description
-
Uses of Header in org.mockserver.codec
Methods in org.mockserver.codec that return types with arguments of type HeaderModifier and TypeMethodDescriptionPreserveHeadersNettyRemoves.preservedHeaders(io.netty.channel.Channel channel) -
Uses of Header in org.mockserver.mappers
Method parameters in org.mockserver.mappers with type arguments of type HeaderModifier and TypeMethodDescriptionFullHttpRequestToMockServerHttpRequest.mapFullHttpRequestToMockServerRequest(io.netty.handler.codec.http.FullHttpRequest fullHttpRequest, List<Header> preservedHeaders, byte[] originalRawBody, SocketAddress localAddress, SocketAddress remoteAddress, Protocol protocol) FullHttpRequestToMockServerHttpRequest.mapFullHttpRequestToMockServerRequest(io.netty.handler.codec.http.FullHttpRequest fullHttpRequest, List<Header> preservedHeaders, SocketAddress localAddress, SocketAddress remoteAddress, Protocol protocol) FullHttpRequestToMockServerHttpRequest.mapHeadersOnlyHttpRequestToMockServerRequest(io.netty.handler.codec.http.HttpRequest nettyHttpRequest, List<Header> preservedHeaders, SocketAddress localAddress, SocketAddress remoteAddress, Protocol protocol) Map the headers/method/path/query/cookies of a Netty HttpRequest (no body) to a MockServer HttpRequest. -
Uses of Header in org.mockserver.model
Methods in org.mockserver.model that return HeaderModifier and TypeMethodDescriptionHeaders.build(NottableString name, Collection<NottableString> values) static Headerstatic Headerstatic HeaderHeader.header(String name, Collection<String> value) static HeaderHeader.header(NottableString name, Collection<NottableString> value) static HeaderHeader.header(NottableString name, NottableString... value) static HeaderHeader.optionalHeader(String name, String... values) static HeaderHeader.schemaHeader(String name, String... values) Methods in org.mockserver.model that return types with arguments of type HeaderModifier and TypeMethodDescriptionHttpMessage.getHeaderList()HttpRequest.getHeaderList()HttpResponse.getHeaderList()Methods in org.mockserver.model with parameters of type HeaderModifier and TypeMethodDescriptionstatic HeadersHttpMessage.replaceHeader(Header header) 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/8/docs/api/java/util/regex/Pattern.html)HttpResponse.replaceHeader(Header header) Update header to return as a Header object, if a header with the same name already exists it will be modifiedGrpcBidiResponse.withHeader(Header header) GrpcStreamResponse.withHeader(Header header) HttpMessage.withHeader(Header header) 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/8/docs/api/java/util/regex/Pattern.html)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 existHttpSseResponse.withHeader(Header header) HttpMessage.withHeaders(Header... headers) 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/8/docs/api/java/util/regex/Pattern.html)HttpResponse.withHeaders(Header... headers) The headers to return as a varargs of Header objectsMethod parameters in org.mockserver.model with type arguments of type HeaderModifier and TypeMethodDescriptionHttpMessage.withHeaders(List<Header> headers) 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/8/docs/api/java/util/regex/Pattern.html)HttpResponse.withHeaders(List<Header> headers) The headers to return as a list of Header objectsConstructors in org.mockserver.model with parameters of type HeaderConstructor parameters in org.mockserver.model with type arguments of type Header -
Uses of Header in org.mockserver.serialization.java
Methods in org.mockserver.serialization.java with parameters of type HeaderModifier and TypeMethodDescriptionHeaderToJavaSerializer.serializeAsJava(int numberOfSpacesToIndent, Header... object) Method parameters in org.mockserver.serialization.java with type arguments of type HeaderModifier and TypeMethodDescriptionHeaderToJavaSerializer.serializeAsJava(int numberOfSpacesToIndent, List<Header> headers) -
Uses of Header in org.mockserver.serialization.model
Methods in org.mockserver.serialization.model that return HeaderConstructors in org.mockserver.serialization.model with parameters of type Header -
Uses of Header in org.mockserver.testing.integration.mock
Methods in org.mockserver.testing.integration.mock that return HeaderModifier and TypeMethodDescriptionprotected HeaderAbstractMockingIntegrationTestBase.authorisationHeader()Method parameters in org.mockserver.testing.integration.mock with type arguments of type HeaderModifier and TypeMethodDescriptionstatic HeadersAbstractMockingIntegrationTestBase.filterHeaders(Collection<String> headersToIgnore, List<Header> headerList)