Package org.wildfly.security.http.util
Class SimpleHttpServerCookie
- java.lang.Object
-
- org.wildfly.security.http.util.SimpleHttpServerCookie
-
- All Implemented Interfaces:
HttpServerCookie
public class SimpleHttpServerCookie extends Object implements HttpServerCookie
A simple implementation ofHttpServerCookie.- Author:
- Darran Lofthouse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDomain()intgetMaxAge()StringgetName()StringgetPath()StringgetValue()intgetVersion()booleanisHttpOnly()booleanisSecure()static HttpServerCookienewInstance(String name, String value, String domain, int maxAge, String path, boolean secure, int version, boolean httpOnly)
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceHttpServerCookie
-
getValue
public String getValue()
- Specified by:
getValuein interfaceHttpServerCookie
-
getDomain
public String getDomain()
- Specified by:
getDomainin interfaceHttpServerCookie
-
getMaxAge
public int getMaxAge()
- Specified by:
getMaxAgein interfaceHttpServerCookie
-
getPath
public String 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)
-
-