Package | Description |
---|---|
org.mockserver.client.serialization.java | |
org.mockserver.client.serialization.model | |
org.mockserver.model |
Modifier and Type | Method and Description |
---|---|
String |
CookieToJavaSerializer.serialize(int numberOfSpacesToIndent,
Cookie cookie) |
String |
CookieToJavaSerializer.serializeAsJava(int numberOfSpacesToIndent,
Cookie... object) |
Modifier and Type | Method and Description |
---|---|
String |
CookieToJavaSerializer.serializeAsJava(int numberOfSpacesToIndent,
List<Cookie> cookies) |
Modifier and Type | Method and Description |
---|---|
Cookie |
CookieDTO.buildObject() |
Constructor and Description |
---|
CookieDTO(Cookie cookie) |
Modifier and Type | Method and Description |
---|---|
Cookie |
Cookies.build(NottableString name,
NottableString value) |
static Cookie |
Cookie.cookie(NottableString name,
NottableString value) |
static Cookie |
Cookie.cookie(String name,
String value) |
Modifier and Type | Method and Description |
---|---|
List<Cookie> |
HttpRequest.getCookieList() |
List<Cookie> |
HttpResponse.getCookieList() |
Modifier and Type | Method and Description |
---|---|
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)
|
HttpResponse |
HttpResponse.withCookie(Cookie cookie)
Add cookie to return as Set-Cookie header
|
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)
|
HttpResponse |
HttpResponse.withCookies(Cookie... cookies)
The cookies to return as Set-Cookie headers as a varargs of Cookie objects
|
Modifier and Type | Method and Description |
---|---|
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)
|
HttpResponse |
HttpResponse.withCookies(List<Cookie> cookies)
The cookies to return as Set-Cookie headers as a list of Cookie objects
|
Constructor and Description |
---|
Cookies(Cookie... cookies) |
Constructor and Description |
---|
Cookies(List<Cookie> cookies) |
Copyright © 2018. All rights reserved.