Uses of Class
org.mockserver.model.Cookie
-
Packages that use Cookie Package Description org.mockserver.model org.mockserver.serialization.java org.mockserver.serialization.model -
-
Uses of Cookie in org.mockserver.model
Methods in org.mockserver.model that return Cookie Modifier and Type Method Description Cookie
Cookies. build(NottableString name, NottableString value)
static Cookie
Cookie. cookie(String name, String value)
static Cookie
Cookie. cookie(NottableString name, NottableString value)
Methods in org.mockserver.model that return types with arguments of type Cookie Modifier and Type Method Description List<Cookie>
HttpObject. getCookieList()
List<Cookie>
HttpRequest. getCookieList()
List<Cookie>
HttpResponse. getCookieList()
Methods in org.mockserver.model with parameters of type Cookie Modifier and Type Method 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 headerT
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 objectsMethod parameters in org.mockserver.model with type arguments of type Cookie Modifier and Type Method 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 objectsConstructors in org.mockserver.model with parameters of type Cookie Constructor Description Cookies(Cookie... cookies)
Constructor parameters in org.mockserver.model with type arguments of type Cookie Constructor Description Cookies(List<Cookie> cookies)
-
Uses of Cookie in org.mockserver.serialization.java
Methods in org.mockserver.serialization.java with parameters of type Cookie Modifier and Type Method Description String
CookieToJavaSerializer. serialize(int numberOfSpacesToIndent, Cookie cookie)
String
CookieToJavaSerializer. serializeAsJava(int numberOfSpacesToIndent, Cookie... object)
Method parameters in org.mockserver.serialization.java with type arguments of type Cookie Modifier and Type Method Description String
CookieToJavaSerializer. serializeAsJava(int numberOfSpacesToIndent, List<Cookie> cookies)
-
Uses of Cookie in org.mockserver.serialization.model
Methods in org.mockserver.serialization.model that return Cookie Modifier and Type Method Description Cookie
CookieDTO. buildObject()
Constructors in org.mockserver.serialization.model with parameters of type Cookie Constructor Description CookieDTO(Cookie cookie)
-