HttpCookiePair.
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final CharSequence | |
| private final CharSequence |
| Access | Constructor and Description |
|---|---|
| public | DefaultHttpCookiePair(final CharSequence
The cookie-name. cookieName, final CharSequence The cookie-value. cookieValue)Create a new instance. |
| public | DefaultHttpCookiePair(final CharSequence
The cookie-name. cookieName, final CharSequence The cookie-value. cookieValue, boolean true if the value should be wrapped in DQUOTE as described in
cookie-valueCreate a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public CharSequence | encoded()
Implements io. HttpCookiePair.
|
| public boolean | equals(final Object
the reference object with which to compare. o)Overrides java. |
| public int | |
| public boolean | isWrapped()
Implements io. true if the value should be wrapped in DQUOTE as described in
cookie-value.
|
| public CharSequence | name()
Implements io. HttpCookiePair.
|
| pack-priv static HttpCookiePair | parseCookiePair(final CharSequence
The sequence, int CharSequence that contains a
cookie-pair.The index were the cookie-name
starts in nameStart, int sequence.The end index (exclusive) of the
cookie-pair in valueEnd)sequence.Parse a cookie-pair from |
| pack-priv static HttpCookiePair | parseCookiePair(final CharSequence
The sequence, int CharSequence that contains a
cookie-pair.The index were the cookie-name
starts in nameStart, int sequence.The length of the cookie-name. nameLength, int The end index (exclusive) of the
cookie-pair in valueEnd)sequence.Parse a cookie-pair from |
| private static HttpCookiePair | |
| public String | |
| public CharSequence | value()
Implements io. HttpCookiePair.
|
| isWrapped | back to summary |
|---|---|
| private final boolean isWrapped | |
| name | back to summary |
|---|---|
| private final CharSequence name | |
| value | back to summary |
|---|---|
| private final CharSequence value | |
| DefaultHttpCookiePair | back to summary |
|---|---|
| public DefaultHttpCookiePair(final CharSequence cookieName, final CharSequence cookieValue) Create a new instance.
| |
| DefaultHttpCookiePair | back to summary |
|---|---|
| public DefaultHttpCookiePair(final CharSequence cookieName, final CharSequence cookieValue, boolean isWrapped) Create a new instance.
| |
| encoded | back to summary |
|---|---|
| public CharSequence encoded() Implements io. Doc from io. Get the encoded value of this
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isWrapped | back to summary |
|---|---|
| public boolean isWrapped() Implements io. Doc from io. Returns
| |
| name | back to summary |
|---|---|
| public CharSequence name() Implements io. Doc from io. Returns the name of this
| |
| parseCookiePair | back to summary |
|---|---|
| pack-priv static HttpCookiePair parseCookiePair(final CharSequence sequence, int nameStart, int valueEnd) Parse a cookie-pair from
| |
| parseCookiePair | back to summary |
|---|---|
| pack-priv static HttpCookiePair parseCookiePair(final CharSequence sequence, int nameStart, int nameLength, int valueEnd) Parse a cookie-pair from
| |
| parseCookiePair0 | back to summary |
|---|---|
| private static HttpCookiePair parseCookiePair0(final CharSequence sequence, int nameStart, int nameLength, int valueEnd) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| value | back to summary |
|---|---|
| public CharSequence value() Implements io. Doc from io. Returns the value of this
| |