public enum WeChatServer extends Enum<WeChatServer>
| Enum Constant and Description |
|---|
ACTION
活动
|
CHINA
中国
|
CHINA2
中国国内(备用域名)
|
FRAUD
获取公钥
|
HK
香港
|
US
美国
|
| Modifier and Type | Method and Description |
|---|---|
String |
domain()
Gets type.
|
String |
toString() |
static WeChatServer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WeChatServer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeChatServer CHINA
public static final WeChatServer CHINA2
public static final WeChatServer HK
public static final WeChatServer US
public static final WeChatServer FRAUD
public static final WeChatServer ACTION
private final String domain
public static WeChatServer[] values()
for (WeChatServer c : WeChatServer.values()) System.out.println(c);
public static WeChatServer 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 domain()
public String toString()
toString in class Enum<WeChatServer>Copyright © 2023. All rights reserved.