@Immutable public final class ResponseMode extends Identifier
Related specifications:
| Modifier and Type | Field and Description |
|---|---|
static ResponseMode |
FORM_POST
HTML form post response mode.
|
static ResponseMode |
FRAGMENT
Fragment response mode.
|
static ResponseMode |
QUERY
Query response mode.
|
DEFAULT_BYTE_LENGTH| Constructor and Description |
|---|
ResponseMode(String value)
Creates a new response mode with the specified value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Overrides
Object.equals(). |
static ResponseMode |
parse(String s)
Parses a response mode from the specified string.
|
compareTo, getValue, hashCode, toJSONString, toStringpublic static final ResponseMode QUERY
redirect_uri when
redirecting back to the client.public static final ResponseMode FRAGMENT
redirect_uri when
redirecting back to the client.public static final ResponseMode FORM_POST
application/x-www-form-urlencoded format.
The action attribute of the form must be the client's Redirection
URI. The method of the form attribute must be POST.public ResponseMode(String value)
value - The response mode value. Must not be null or
empty string.public boolean equals(Object object)
IdentifierObject.equals().equals in class Identifierobject - The object to compare to.true if the objects have the same value, otherwise
false.public static ResponseMode parse(String s)
s - The string to parse, null or empty if no response
mode is specified.null if the parsed string was
null or empty.Copyright © 2015 Connect2id Ltd.. All Rights Reserved.