Package | Description |
---|---|
io.restassured.builder | |
io.restassured.internal | |
io.restassured.matcher | |
io.restassured.response | |
io.restassured.specification |
Modifier and Type | Method and Description |
---|---|
ResponseSpecBuilder |
ResponseSpecBuilder.expectCookie(String cookieName,
DetailedCookieMatcher detailedCookieMatcher)
Expect that a detailed response cookie matches the supplied cookie name and hamcrest matcher (see
DetailedCookieMatcher . |
Modifier and Type | Method and Description |
---|---|
T |
ValidatableResponseOptionsImpl.cookie(String cookieName,
DetailedCookieMatcher detailedCookieMatcher) |
ValidatableResponse |
ValidatableResponseImpl.cookie(String cookieName,
DetailedCookieMatcher detailedCookieMatcher) |
ResponseSpecification |
ResponseSpecificationImpl.cookie(String cookieName,
DetailedCookieMatcher detailedCookieMatcher) |
Modifier and Type | Method and Description |
---|---|
DetailedCookieMatcher |
DetailedCookieMatcher.comment(org.hamcrest.Matcher<? super String> commentMatcher)
Verifies whether comment of cookie satisfies specified matcher.
|
DetailedCookieMatcher |
DetailedCookieMatcher.comment(String expectedComment)
Verifies whether comment of cookie is equal to specified argument.
|
static DetailedCookieMatcher |
RestAssuredMatchers.detailedCookie() |
DetailedCookieMatcher |
DetailedCookieMatcher.domain(org.hamcrest.Matcher<? super String> domainMatcher)
Verifies whether domain of cookie satisfies specified matcher.
|
DetailedCookieMatcher |
DetailedCookieMatcher.domain(String expectedDomain)
Verifies whether domain of cookie is equal to specified argument.
|
DetailedCookieMatcher |
DetailedCookieMatcher.expiryDate(Date expectedExpiryDate)
Verifies whether expiry date of cookie is equal to specified argument.
|
DetailedCookieMatcher |
DetailedCookieMatcher.expiryDate(org.hamcrest.Matcher<? super Date> expiryDateMatcher)
Verifies whether expiry date of cookie satisfies specified matcher.
|
DetailedCookieMatcher |
DetailedCookieMatcher.httpOnly(boolean expectedHttpOnlyValue)
Verifies whether http-only property of cookie is equal to specified argument.
|
DetailedCookieMatcher |
DetailedCookieMatcher.httpOnly(org.hamcrest.Matcher<? super Boolean> httpOnlyMatcher)
Verifies whether http-only property of cookie satisfies specified matcher.
|
DetailedCookieMatcher |
DetailedCookieMatcher.maxAge(int expectedMaxAgeValue)
Verifies whether max age of cookie is equal to specified argument.
|
DetailedCookieMatcher |
DetailedCookieMatcher.maxAge(org.hamcrest.Matcher<? super Integer> maxAgeMatcher)
Verifies whether max age of cookie satisfies specified matcher.
|
DetailedCookieMatcher |
DetailedCookieMatcher.path(org.hamcrest.Matcher<? super String> pathMatcher)
Verifies whether path of cookie satisfies specified matcher.
|
DetailedCookieMatcher |
DetailedCookieMatcher.path(String expectedPath)
Verifies whether path of cookie is equal to specified argument.
|
DetailedCookieMatcher |
DetailedCookieMatcher.sameSite(org.hamcrest.Matcher<? super String> sameSiteMatcher)
Verifies whether SameSite Attribute of cookie satisfies specified matcher.
|
DetailedCookieMatcher |
DetailedCookieMatcher.sameSite(String expectedSameSiteAttribute)
Verifies whether SameSite Attribute of cookie is equal to specified argument.
|
DetailedCookieMatcher |
DetailedCookieMatcher.secured(boolean expectedSecuredValue)
Verifies whether secured property of cookie is equal to specified argument.
|
DetailedCookieMatcher |
DetailedCookieMatcher.secured(org.hamcrest.Matcher<? super Boolean> securedMatcher)
Verifies whether secured property of cookie satisfies specified matcher.
|
DetailedCookieMatcher |
DetailedCookieMatcher.value(org.hamcrest.Matcher<? super String> valueMatcher)
Verifies whether value of cookie satisfies specified matcher.
|
DetailedCookieMatcher |
DetailedCookieMatcher.value(String expectedValue)
Verifies whether value of cookie is equal to specified argument.
|
DetailedCookieMatcher |
DetailedCookieMatcher.version(int expectedVersionValue)
Verifies whether version of cookie is equal to specified argument.
|
DetailedCookieMatcher |
DetailedCookieMatcher.version(org.hamcrest.Matcher<? super Integer> versionMatcher)
Verifies whether version of cookie satisfies specified matcher.
|
Modifier and Type | Method and Description |
---|---|
T |
ValidatableResponseOptions.cookie(String cookieName,
DetailedCookieMatcher detailedCookieMatcher)
Validate that a detailed response cookie matches the supplied cookie name and hamcrest matcher (see
DetailedCookieMatcher ). |
Modifier and Type | Method and Description |
---|---|
ResponseSpecification |
ResponseSpecification.cookie(String cookieName,
DetailedCookieMatcher detailedCookieMatcher)
Validate that a detailed response cookie matches the supplied cookie name and hamcrest matcher (see
DetailedCookieMatcher . |
Copyright © 2010–2020. All rights reserved.