public enum API_TYPE extends Enum<API_TYPE>
| Enum Constant and Description |
|---|
REQUEST_BODY_JSON
REST API 방식의 통신 application/json ContentType 사용
|
REQUEST_BODY_SECURED_JSON
REST API 방식의 통신 application/secured+json ContentType 사용
|
REQUEST_FORM
일반적인 GET이나, POST(application/x-www-form-urlencoded) 전송으로 통신, 응답은 문자열
|
| Modifier and Type | Method and Description |
|---|---|
static API_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static API_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final API_TYPE REQUEST_FORM
public static final API_TYPE REQUEST_BODY_JSON
public static final API_TYPE REQUEST_BODY_SECURED_JSON
public static API_TYPE[] values()
for (API_TYPE c : API_TYPE.values()) System.out.println(c);
public static API_TYPE 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 nullCopyright © 2018. All rights reserved.