Package org.glassfish.tyrus.spi
Enum WriterInfo.RemoteEndpointType
- java.lang.Object
-
- java.lang.Enum<WriterInfo.RemoteEndpointType>
-
- org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<WriterInfo.RemoteEndpointType>
- Enclosing class:
- WriterInfo
public static enum WriterInfo.RemoteEndpointType extends java.lang.Enum<WriterInfo.RemoteEndpointType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WriterInfo.RemoteEndpointTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WriterInfo.RemoteEndpointType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASYNC
public static final WriterInfo.RemoteEndpointType ASYNC
RemoteEndpoint.Async
-
BASIC
public static final WriterInfo.RemoteEndpointType BASIC
RemoteEndpoint.Basic
-
BROADCAST
public static final WriterInfo.RemoteEndpointType BROADCAST
Broadcast
-
SUPER
public static final WriterInfo.RemoteEndpointType SUPER
RemoteEndpoint
-
-
Method Detail
-
values
public static WriterInfo.RemoteEndpointType[] 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 (WriterInfo.RemoteEndpointType c : WriterInfo.RemoteEndpointType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WriterInfo.RemoteEndpointType 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
-
-