|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Display>
com.belerweb.social.weibo.bean.Display
public enum Display
授权页面的终端类型
| Enum Constant Summary | |
|---|---|
APPONWEIBO
默认的站内应用授权页,授权后不返回access_token,只刷新站内应用父框架。 |
|
CLIENT
客户端版本授权页面,适用于PC桌面应用。 |
|
DEFAULT
默认的授权页面,适用于web浏览器。 |
|
MOBILE
移动终端的授权页面,适用于支持html5的手机。注:使用此版授权页请用 https://open.weibo.cn/oauth2/authorize 授权接口 |
|
WAP
wap版授权页面,适用于非智能手机。 |
|
| Method Summary | |
|---|---|
String |
toString()
|
String |
value()
|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Display DEFAULT
public static final Display MOBILE
public static final Display WAP
public static final Display CLIENT
public static final Display APPONWEIBO
| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic String value()
public String toString()
toString in class Enum<Display>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||