- All Superinterfaces:
InboundSetCookies
Represents mutable outbound HTTP set-cookies.
- Since:
- 1.6
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault OutboundSetCookies
Adds a set-cookie with the specified name and value.addCookie
(Consumer<SetCookie.Configurator> configurer) Adds a set-cookie.
-
Method Details
-
addCookie
Adds a set-cookie with the specified name and value.
- Parameters:
name
- a cookie namevalue
- a cookie value- Returns:
- the outbound set-cookies
-
addCookie
Adds a set-cookie.
- Parameters:
configurer
- a set-cookie configurer- Returns:
- the outbound set-cookies
-