public static enum Response.TruncatedContentReason extends Enum<Response.TruncatedContentReason>
Enum Constant and Description |
---|
DISCONNECT
network disconnect or timeout during fetch
|
INTERNAL
implementation internal reason
|
LENGTH
fetch exceeded configured http.content.limit
|
NOT_TRUNCATED |
TIME
fetch exceeded configured http.time.limit
|
UNSPECIFIED
unknown reason
|
Modifier and Type | Method and Description |
---|---|
static Response.TruncatedContentReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Response.TruncatedContentReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Response.TruncatedContentReason NOT_TRUNCATED
public static final Response.TruncatedContentReason LENGTH
public static final Response.TruncatedContentReason TIME
public static final Response.TruncatedContentReason DISCONNECT
public static final Response.TruncatedContentReason INTERNAL
public static final Response.TruncatedContentReason UNSPECIFIED
public static Response.TruncatedContentReason[] values()
for (Response.TruncatedContentReason c : Response.TruncatedContentReason.values()) System.out.println(c);
public static Response.TruncatedContentReason 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 © 2021 The Apache Software Foundation