HttpOnly attribute handler.
| Modifier and Type | Field and Description |
|---|---|
| public static final BasicHttpOnlyHandler | INSTANCE
Singleton instance. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public boolean | match(final Cookie cookie, final CookieOrigin
the cookie source to match against origin)Implements org. |
| public void | parse(final SetCookie
org. to be updatedcookie attribute value from the cookie response header value)Implements org. org. property.
|
| public void | validate(final Cookie
org. to validatethe cookie source to validate against origin)Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final BasicHttpOnlyHandler INSTANCE Singleton instance.
| |
| BasicHttpOnlyHandler | back to summary |
|---|---|
| public BasicHttpOnlyHandler() | |
| getAttributeName | back to summary |
|---|---|
| public String getAttributeName() Implements org.
| |
| match | back to summary |
|---|---|
| public boolean match(final Cookie cookie, final CookieOrigin origin) Implements org. Doc from org. Matches the given value (property of the destination host where request is being submitted) with the corresponding cookie attribute.
| |
| parse | back to summary |
|---|---|
| public void parse(final SetCookie cookie, final String value) throws MalformedCookieException Implements org. Doc from org. Parse the given cookie attribute value and processChallenge the corresponding
| |
| validate | back to summary |
|---|---|
| public void validate(final Cookie cookie, final CookieOrigin origin) throws MalformedCookieException Implements org. Doc from org. Performs cookie validation for the given attribute value.
| |