Package io.servicetalk.http.api
Interface HttpCookiePair
-
- All Known Subinterfaces:
HttpSetCookie
- All Known Implementing Classes:
DefaultHttpCookiePair
,DefaultHttpSetCookie
public interface HttpCookiePair
Interface defining a HTTP cookie-pair.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.CharSequence
encoded()
Get the encoded value of thisHttpCookiePair
.boolean
isWrapped()
Returnstrue
if the value should be wrapped in DQUOTE as described in cookie-value.java.lang.CharSequence
name()
Returns the name of thisHttpCookiePair
.java.lang.CharSequence
value()
Returns the value of thisHttpCookiePair
.
-
-
-
Method Detail
-
name
java.lang.CharSequence name()
Returns the name of thisHttpCookiePair
.- Returns:
- The name of this
HttpCookiePair
-
value
java.lang.CharSequence value()
Returns the value of thisHttpCookiePair
.- Returns:
- The value of this
HttpCookiePair
-
isWrapped
boolean isWrapped()
Returnstrue
if the value should be wrapped in DQUOTE as described in cookie-value.- Returns:
true
if the value should be wrapped in DQUOTE as described in cookie-value.
-
encoded
java.lang.CharSequence encoded()
Get the encoded value of thisHttpCookiePair
.- Returns:
- the encoded value of this
HttpCookiePair
.
-
-