public static enum RequestInterceptor.Level extends java.lang.Enum<RequestInterceptor.Level>
| Enum Constant and Description |
|---|
ALL
所有数据全部打印
|
NONE
不打印log
|
REQUEST
只打印请求信息
|
RESPONSE
只打印响应信息
|
| Modifier and Type | Method and Description |
|---|---|
static RequestInterceptor.Level |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequestInterceptor.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestInterceptor.Level NONE
public static final RequestInterceptor.Level REQUEST
public static final RequestInterceptor.Level RESPONSE
public static final RequestInterceptor.Level ALL
public static RequestInterceptor.Level[] values()
for (RequestInterceptor.Level c : RequestInterceptor.Level.values()) System.out.println(c);
public static RequestInterceptor.Level valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null