Top Description Methods
io.netty5.handler.codec.http.headers

public Interface HttpCookiePair

Known Direct Subinterfaces
io.netty5.handler.codec.http.headers.HttpSetCookie
Known Direct Implementers
io.netty5.handler.codec.http.headers.DefaultHttpCookiePair

Interface defining a HTTP cookie-pair.

Method Summary

Modifier and TypeMethod and Description
public CharSequence

Returns:

the encoded value of this HttpCookiePair.
encoded
()

Get the encoded value of this HttpCookiePair.

public boolean

Returns:

true if the value should be wrapped in DQUOTE as described in cookie-value.
isWrapped
()

Returns true if the value should be wrapped in DQUOTE as described in cookie-value.

public CharSequence

Returns:

The name of this HttpCookiePair
name
()

Returns the name of this HttpCookiePair.

public CharSequence

Returns:

The value of this HttpCookiePair
value
()

Returns the value of this HttpCookiePair.

Method Detail

encodedback to summary
public CharSequence encoded()

Get the encoded value of this HttpCookiePair.

Returns:CharSequence

the encoded value of this HttpCookiePair.

isWrappedback to summary
public boolean isWrapped()

Returns true if the value should be wrapped in DQUOTE as described in cookie-value.

Returns:boolean

true if the value should be wrapped in DQUOTE as described in cookie-value.

nameback to summary
public CharSequence name()

Returns the name of this HttpCookiePair.

Returns:CharSequence

The name of this HttpCookiePair

valueback to summary
public CharSequence value()

Returns the value of this HttpCookiePair.

Returns:CharSequence

The value of this HttpCookiePair