Module io.inverno.mod.http.base
Package io.inverno.mod.http.base.header
Interface SetCookie.Configurator
- All Known Implementing Classes:
SetCookieCodec.SetCookie
- Enclosing interface:
- SetCookie
public static interface SetCookie.Configurator
A configurator used to configure a set-cookie.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
-
Method Summary
-
Method Details
-
name
Sets the cookie name.
- Parameters:
name- a cookie name- Returns:
- the configurator
-
value
Sets the cookie value.
- Parameters:
value- a cookie value- Returns:
- the configurator
-
maxAge
sets the cookie max age in seconds.
- Parameters:
maxAge- the cookie max age- Returns:
- the configurator
-
domain
Sets the cookie domain.
- Parameters:
domain- the cookie domain- Returns:
- the configurator
-
path
Sets the cookie path.
- Parameters:
path- the cookie path- Returns:
- the configurator
-
secure
Sets the cookie secure flag.
- Parameters:
secure- the cookie secure flag- Returns:
- the configurator
-
httpOnly
Sets the cookie http only flag.
- Parameters:
httpOnly- the cookie http only flag- Returns:
- the configurator
-