Uses of Class
org.mockserver.model.Header
-
Packages that use Header Package Description org.mockserver.model org.mockserver.serialization.java org.mockserver.serialization.model -
-
Uses of Header in org.mockserver.model
Methods in org.mockserver.model that return Header Modifier and Type Method Description Header
Headers. build(NottableString name, List<NottableString> values)
static Header
Header. header(String name, int value)
static Header
Header. header(String name, String... value)
static Header
Header. header(String name, Collection<String> value)
static Header
Header. header(NottableString name, Collection<NottableString> value)
static Header
Header. header(NottableString name, NottableString... value)
Methods in org.mockserver.model that return types with arguments of type Header Modifier and Type Method Description List<Header>
HttpObject. getHeaderList()
List<Header>
HttpRequest. getHeaderList()
List<Header>
HttpResponse. getHeaderList()
Methods in org.mockserver.model with parameters of type Header Modifier and Type Method Description T
HttpObject. replaceHeader(Header header)
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)HttpResponse
HttpResponse. replaceHeader(Header header)
Update header to return as a Header object, if a header with the same name already exists it will be modifiedT
HttpObject. withHeader(Header header)
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)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 existT
HttpObject. withHeaders(Header... headers)
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)HttpResponse
HttpResponse. withHeaders(Header... headers)
The headers to return as a varargs of Header objectsMethod parameters in org.mockserver.model with type arguments of type Header Modifier and Type Method Description T
HttpObject. withHeaders(List<Header> 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)HttpResponse
HttpResponse. withHeaders(List<Header> headers)
The headers to return as a list of Header objectsConstructors in org.mockserver.model with parameters of type Header Constructor Description Headers(Header... headers)
Constructor parameters in org.mockserver.model with type arguments of type Header Constructor Description Headers(List<Header> headers)
-
Uses of Header in org.mockserver.serialization.java
Methods in org.mockserver.serialization.java with parameters of type Header Modifier and Type Method Description String
HeaderToJavaSerializer. serialize(int numberOfSpacesToIndent, Header header)
String
HeaderToJavaSerializer. serializeAsJava(int numberOfSpacesToIndent, Header... object)
Method parameters in org.mockserver.serialization.java with type arguments of type Header Modifier and Type Method Description String
HeaderToJavaSerializer. serializeAsJava(int numberOfSpacesToIndent, List<Header> headers)
-
Uses of Header in org.mockserver.serialization.model
Methods in org.mockserver.serialization.model that return Header Modifier and Type Method Description Header
HeaderDTO. buildObject()
Constructors in org.mockserver.serialization.model with parameters of type Header Constructor Description HeaderDTO(Header header)
-