public interface HttpServerCookie
Modifier and Type | Method and Description |
---|---|
String |
getDomain()
Gets the domain name of this cookie.
|
int |
getMaxAge()
Gets the maximum age in seconds of this Cookie.
|
String |
getName()
Returns the name of the cookie.
|
String |
getPath()
Returns the path on the server to which the browser returns this cookie.
|
String |
getValue()
Returns the current value of this cookie.
|
int |
getVersion()
Returns the version of the protocol this cookie complies with.
|
boolean |
isHttpOnly()
Checks whether this cookie has been marked as HttpOnly.
|
boolean |
isSecure()
Returns
true if the browser is sending cookies only over a secure protocol, or false if the
browser can send cookies using any protocol. |
String getName()
String getValue()
String getDomain()
int getMaxAge()
String getPath()
String
specifying a path on the serverboolean isSecure()
true
if the browser is sending cookies only over a secure protocol, or false
if the
browser can send cookies using any protocol.true
if the browser uses a secure protocol, false
otherwiseint getVersion()
boolean isHttpOnly()
Copyright © 2020 JBoss by Red Hat. All rights reserved.