Package org.eclipse.jetty.client
Enum HttpReceiver.DecodeResult
- java.lang.Object
-
- java.lang.Enum<HttpReceiver.DecodeResult>
-
- org.eclipse.jetty.client.HttpReceiver.DecodeResult
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HttpReceiver.DecodeResult>
- Enclosing class:
- HttpReceiver
private static enum HttpReceiver.DecodeResult extends java.lang.Enum<HttpReceiver.DecodeResult>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORT
DECODE
NEED_INPUT
-
Constructor Summary
Constructors Modifier Constructor Description private
DecodeResult()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpReceiver.DecodeResult
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HttpReceiver.DecodeResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DECODE
public static final HttpReceiver.DecodeResult DECODE
-
NEED_INPUT
public static final HttpReceiver.DecodeResult NEED_INPUT
-
ABORT
public static final HttpReceiver.DecodeResult ABORT
-
-
Method Detail
-
values
public static HttpReceiver.DecodeResult[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HttpReceiver.DecodeResult c : HttpReceiver.DecodeResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpReceiver.DecodeResult valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-