Modifier and Type | Class and Description |
---|---|
class |
ResponseCookieImpl
As of "HTTP cookies explained - NCZOnline": "...
|
Modifier and Type | Method and Description |
---|---|
default ResponseCookie |
ResponseHeaderFields.addCookie(String aHttpCookie)
Adds an individual server-side cookie to be sent to the client to this
ResponseHeaderFields instance. |
protected ResponseCookie |
ResponseHeaderFieldsImpl.createCookie(String aHttpCookie)
|
protected ResponseCookie |
ResponseHeaderFieldsImpl.createCookie(String aCookieName,
String aValue)
Creates a plain
Cookie with the given name and value. |
default ResponseCookie |
ResponseCookie.withDomain(String aDomain)
Sets the domain for this cookie.
|
default ResponseCookie |
ResponseCookie.withExpiresAfter(org.refcodes.time.TimeUnit aTimeUnit,
long aTime)
Builder method for the method
setExpiresAfter(TimeUnit, long) . |
default ResponseCookie |
ResponseCookie.withExpiresDate(Date aExpiresDate)
Sets the expiration date of this cookie and returns this instance as of
the Builder-Pattern.
|
default ResponseCookie |
ResponseCookie.withHttpCookie(String aCookie)
Sets the cookie according to the provided HTTP cookie text via
Cookie.fromHttpCookie(String) . |
default ResponseCookie |
ResponseCookie.withHttpOnly(boolean isHttpOnly)
Sets whether it be an HTTP only cookie.
|
default ResponseCookie |
ResponseCookie.withPath(String aPath)
Sets the path of the cookie.
|
default ResponseCookie |
ResponseCookie.withSecure(boolean isSecure)
Sets whether it be a secure HTTP cookie.
|
Copyright © 2018. All rights reserved.