public interface RequestCookie extends Cookie
RequestCookie
represents a builder for a building request
cookies.
We use URL encoding / decoding for the cookie value (regarding
fromHttpCookie(String)
and toHttpCookie()
) to make life
easier and not fall into the trap of unescaped values.org.refcodes.structure.Property.PropertyBuilder
org.refcodes.structure.Relation.RelationBuilder<K,V>
Modifier and Type | Method and Description |
---|---|
default void |
fromHttpCookie(String aHttpCookie)
From http cookie.
|
default String |
toHttpCookie()
To http cookie.
|
default RequestCookie |
withHttpCookie(String aCookie)
With http cookie.
|
default RequestCookie withHttpCookie(String aCookie)
withHttpCookie
in interface Cookie
aCookie
- the a cookiedefault void fromHttpCookie(String aHttpCookie)
fromHttpCookie
in interface Cookie
aHttpCookie
- the a http cookiedefault String toHttpCookie()
toHttpCookie
in interface Cookie
Copyright © 2017. All rights reserved.