com.sun.grizzly
Enum ProtocolChainInstruction
java.lang.Object
java.lang.Enum<ProtocolChainInstruction>
com.sun.grizzly.ProtocolChainInstruction
- All Implemented Interfaces:
- Serializable, Comparable<ProtocolChainInstruction>
public enum ProtocolChainInstruction
- extends Enum<ProtocolChainInstruction>
The ProtocolChainInstruction contains the instruction for a
ProtocolChain, how it should continue the invokation.
- Author:
- Alexey Stashok
RETURN
public static final ProtocolChainInstruction RETURN
REINVOKE
public static final ProtocolChainInstruction REINVOKE
values
public static final ProtocolChainInstruction[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(ProtocolChainInstruction c : ProtocolChainInstruction.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static ProtocolChainInstruction valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
Copyright © 2010 Oracle Corpration. All Rights Reserved.