Package | Description |
---|---|
org.mockserver.model | |
org.mockserver.serialization.java | |
org.mockserver.serialization.model |
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> |
HttpObject.getCookieList() |
List<Cookie> |
HttpRequest.getCookieList() |
List<Cookie> |
HttpResponse.getCookieList() |
Modifier and Type | Method and Description |
---|---|
boolean |
HttpResponse.cookieHeadeDoesNotAlreadyExists(Cookie cookieValue) |
T |
HttpObject.withCookie(Cookie cookie) |
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
|
T |
HttpObject.withCookies(Cookie... cookies) |
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 |
---|---|
T |
HttpObject.withCookies(List<Cookie> 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)
|
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) |
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) |
Copyright © 2020. All rights reserved.