Class RequestCookie
java.lang.Object
org.springframework.restdocs.operation.RequestCookie
A representation of a Cookie received in a request.
- Since:
- 1.2.0
- Author:
- Andy Wilkinson
-
Constructor Summary
ConstructorDescriptionRequestCookie
(String name, String value) Creates a newRequestCookie
with the givenname
andvalue
. -
Method Summary
-
Constructor Details
-
RequestCookie
Creates a newRequestCookie
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
-