public interface RequestCookie extends Cookie
RequestCookie
represents a request cookie.Modifier and Type | Method and Description |
---|---|
default void |
setCookie(String aCookie)
Sets the cookie according to the provided HTP cookie text.
|
default String |
toHttpCookie()
Returns the cookie to be assigned to a cookie header field to be sent by
a server to a client.
|
default RequestCookie |
withHttpCookie(String aCookie)
Sets the cookie according to the provided HTP cookie text.
|
default void setCookie(String aCookie)
Cookie
default RequestCookie withHttpCookie(String aCookie)
Cookie
withHttpCookie
in interface Cookie
aCookie
- The HTTP cookie text.Cookie
instance as of the builder pattern.default String toHttpCookie()
Cookie
toHttpCookie
in interface Cookie
Copyright © 2016. All rights reserved.