public enum Display extends Enum<Display>
display
.Enum Constant and Description |
---|
PAGE
"page" (1). |
POPUP
"popup" (2). |
TOUCH
"touch" (3). |
WAP
"wap" (4). |
Modifier and Type | Method and Description |
---|---|
static Display |
getByValue(short value)
Find an instance of this enum by a value.
|
short |
getValue()
Get the integer representation of this enum instance.
|
static Display |
parse(String display)
Convert
String to Display . |
static Display[] |
toArray(int bits) |
static int |
toBits(EnumSet<Display> set) |
static EnumSet<Display> |
toSet(Display[] array) |
static EnumSet<Display> |
toSet(int bits) |
String |
toString() |
static Display |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Display[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Display PAGE
"page"
(1).
The Authorization Server SHOULD display the authentication and
consent UI consistent with a full User Agent page view. If the
display
parameter is not specified, this is the default
display mode.
public static final Display POPUP
"popup"
(2).
The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over.
public static final Display TOUCH
"touch"
(3).
The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface.
public static final Display WAP
"wap"
(4).
The Authorization Server SHOULD display the authentication and consent UI consistent with a "feature phone" type display.
public static Display[] values()
for (Display c : Display.values()) System.out.println(c);
public static Display 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 short getValue()
public static Display getByValue(short value)
value
- The integer representation of the instance to find.null
if not found.public static Display parse(String display)
String
to Display
.display
- A value of display
parameter.
For example, "page"
.Display
instance, or null
.public static Display[] toArray(int bits)
Copyright © 2022. All rights reserved.