Package com.caucho.hessian.io
Enum HessianInputFactory.HeaderType
- java.lang.Object
-
- java.lang.Enum<HessianInputFactory.HeaderType>
-
- com.caucho.hessian.io.HessianInputFactory.HeaderType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HessianInputFactory.HeaderType>
- Enclosing class:
- HessianInputFactory
public static enum HessianInputFactory.HeaderType extends java.lang.Enum<HessianInputFactory.HeaderType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALL_1_REPLY_1
CALL_1_REPLY_2
HESSIAN_2
REPLY_1
REPLY_2
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCall1()
boolean
isCall2()
boolean
isReply1()
boolean
isReply2()
static HessianInputFactory.HeaderType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HessianInputFactory.HeaderType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CALL_1_REPLY_1
public static final HessianInputFactory.HeaderType CALL_1_REPLY_1
-
CALL_1_REPLY_2
public static final HessianInputFactory.HeaderType CALL_1_REPLY_2
-
HESSIAN_2
public static final HessianInputFactory.HeaderType HESSIAN_2
-
REPLY_1
public static final HessianInputFactory.HeaderType REPLY_1
-
REPLY_2
public static final HessianInputFactory.HeaderType REPLY_2
-
-
Method Detail
-
values
public static HessianInputFactory.HeaderType[] 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 (HessianInputFactory.HeaderType c : HessianInputFactory.HeaderType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HessianInputFactory.HeaderType 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
-
isCall1
public boolean isCall1()
-
isCall2
public boolean isCall2()
-
isReply1
public boolean isReply1()
-
isReply2
public boolean isReply2()
-
-