Package | Description |
---|---|
io.restassured.builder | |
io.restassured.http | |
io.restassured.internal | |
io.restassured.response | |
io.restassured.specification |
Modifier and Type | Method and Description |
---|---|
RequestSpecBuilder |
RequestSpecBuilder.addCookie(Cookie cookie)
Add a detailed cookie
|
Modifier and Type | Method and Description |
---|---|
Cookie |
Cookie.Builder.build()
Build a Cookie from the specified parameters.
|
Cookie |
Cookies.get(String cookieName)
Get a single cookie with the supplied name.
|
Modifier and Type | Method and Description |
---|---|
List<Cookie> |
Cookies.asList() |
List<Cookie> |
Cookies.getList(String cookieName)
Get all cookies with the supplied name.
|
Iterator<Cookie> |
Cookies.iterator() |
protected List<Cookie> |
Cookies.list() |
Modifier and Type | Method and Description |
---|---|
static Cookies |
Cookies.cookies(Cookie cookie,
Cookie... additionalCookies)
An alternative way to create a Cookies object from the constructor.
|
static Cookies |
Cookies.cookies(Cookie cookie,
Cookie... additionalCookies)
An alternative way to create a Cookies object from the constructor.
|
Constructor and Description |
---|
Cookies(Cookie... cookies) |
Constructor and Description |
---|
Cookies(List<Cookie> cookies) |
Modifier and Type | Method and Description |
---|---|
Cookie |
RestAssuredResponseOptionsImpl.detailedCookie(String name) |
Cookie |
RestAssuredResponseOptionsGroovyImpl.detailedCookie(String name) |
Cookie |
RestAssuredResponseOptionsImpl.getDetailedCookie(String name) |
Cookie |
RestAssuredResponseOptionsGroovyImpl.getDetailedCookie(String name) |
Modifier and Type | Method and Description |
---|---|
RequestSpecification |
RequestSpecificationImpl.cookie(Cookie cookie) |
FilterableRequestSpecification |
RequestSpecificationImpl.removeCookie(Cookie cookie) |
FilterableRequestSpecification |
RequestSpecificationImpl.replaceCookie(Cookie cookie) |
Modifier and Type | Method and Description |
---|---|
Cookie |
ResponseOptions.detailedCookie(String name)
Get a single cookie including all attributes associated with the given name.
|
Cookie |
ExtractableResponse.detailedCookie(String name)
Get a single cookie including all attributes associated with the given name.
|
Cookie |
ResponseOptions.getDetailedCookie(String name)
Get a single cookie including all attributes associated with the given name.
|
Modifier and Type | Method and Description |
---|---|
RequestSpecification |
RequestSpecification.cookie(Cookie cookie)
Specify a
Cookie to send with the request. |
FilterableRequestSpecification |
FilterableRequestSpecification.removeCookie(Cookie cookie)
Remove a cookie
|
FilterableRequestSpecification |
FilterableRequestSpecification.replaceCookie(Cookie cookie)
Replace a cookie, if it doesn't exist then it will be added.
|
Copyright © 2010–2017. All rights reserved.