Package org.wildfly.security.http.util
Class SimpleHttpServerCookie
java.lang.Object
org.wildfly.security.http.util.SimpleHttpServerCookie
- All Implemented Interfaces:
HttpServerCookie
A simple implementation of
HttpServerCookie.- Author:
- Darran Lofthouse
-
Method Summary
Modifier and TypeMethodDescriptionintgetName()getPath()getValue()intbooleanbooleanisSecure()static HttpServerCookienewInstance(String name, String value, String domain, int maxAge, String path, boolean secure, int version, boolean httpOnly)
-
Method Details
-
getName
- Specified by:
getNamein interfaceHttpServerCookie
-
getValue
- Specified by:
getValuein interfaceHttpServerCookie
-
getDomain
- Specified by:
getDomainin interfaceHttpServerCookie
-
getMaxAge
public int getMaxAge()- Specified by:
getMaxAgein interfaceHttpServerCookie
-
getPath
- Specified by:
getPathin interfaceHttpServerCookie
-
isSecure
public boolean isSecure()- Specified by:
isSecurein interfaceHttpServerCookie
-
getVersion
public int getVersion()- Specified by:
getVersionin interfaceHttpServerCookie
-
isHttpOnly
public boolean isHttpOnly()- Specified by:
isHttpOnlyin interfaceHttpServerCookie
-
newInstance
public static HttpServerCookie newInstance(String name, String value, String domain, int maxAge, String path, boolean secure, int version, boolean httpOnly)
-