Package org.eclipse.jetty.server
Enum ConnectionFactory.Detecting.Detection
java.lang.Object
java.lang.Enum<ConnectionFactory.Detecting.Detection>
org.eclipse.jetty.server.ConnectionFactory.Detecting.Detection
- All Implemented Interfaces:
Serializable
,Comparable<ConnectionFactory.Detecting.Detection>
,java.lang.constant.Constable
- Enclosing interface:
- ConnectionFactory.Detecting
public static enum ConnectionFactory.Detecting.Detection
extends Enum<ConnectionFactory.Detecting.Detection>
The possible outcomes of the
ConnectionFactory.Detecting.detect(ByteBuffer)
method.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAConnectionFactory.Detecting
requires more bytes to make a decision.AConnectionFactory.Detecting
cannot work with the given bytes.AConnectionFactory.Detecting
can work with the given bytes. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RECOGNIZED
AConnectionFactory.Detecting
can work with the given bytes. -
NOT_RECOGNIZED
AConnectionFactory.Detecting
cannot work with the given bytes. -
NEED_MORE_BYTES
AConnectionFactory.Detecting
requires more bytes to make a decision.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-