Class ResponseCookie
java.lang.Object
org.springframework.restdocs.operation.ResponseCookie
A representation of a Cookie returned in a response.
- Since:
- 3.0
- Author:
- Clyde Stubbs
-
Constructor Summary
ConstructorDescriptionResponseCookie
(String name, String value) Creates a newResponseCookie
with the givenname
andvalue
. -
Method Summary
-
Constructor Details
-
ResponseCookie
Creates a newResponseCookie
with the givenname
andvalue
.- Parameters:
name
- the name of the cookievalue
- the value of the cookie
-
-
Method Details
-
getName
Returns the name of the cookie.- Returns:
- the name
-
getValue
Returns the value of the cookie.- Returns:
- the value
-