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