public enum ResponseMode extends Enum<ResponseMode>
Enum Constant and Description |
---|
FORM_POST
Authorization result is encoded as HTML form values that are transmitted via a HTTP POST
to the redirect URL
|
FRAGMENT
Authorization result is returned in the fragment added to the redirect URL when redirecting
back to the client application
|
QUERY
Authorization result returned as query string in the redirect URL when redirecting back to the
client application.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ResponseMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseMode FORM_POST
public static final ResponseMode QUERY
public static final ResponseMode FRAGMENT
public static ResponseMode[] values()
for (ResponseMode c : ResponseMode.values()) System.out.println(c);
public static ResponseMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<ResponseMode>
Copyright © 2013–2020. All rights reserved.