Package io.servicetalk.http.api
Interface HttpCookiePair
-
- All Known Subinterfaces:
HttpSetCookie
- All Known Implementing Classes:
DefaultHttpCookiePair,DefaultHttpSetCookie
public interface HttpCookiePairInterface defining a HTTP cookie-pair.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.CharSequenceencoded()Get the encoded value of thisHttpCookiePair.booleanisWrapped()Returnstrueif the value should be wrapped in DQUOTE as described in cookie-value.java.lang.CharSequencename()Returns the name of thisHttpCookiePair.java.lang.CharSequencevalue()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()
Returnstrueif the value should be wrapped in DQUOTE as described in cookie-value.- Returns:
trueif 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.
-
-