com.alibaba.dubbo.remoting
Enum Codec2.DecodeResult
java.lang.Object
java.lang.Enum<Codec2.DecodeResult>
com.alibaba.dubbo.remoting.Codec2.DecodeResult
- All Implemented Interfaces:
- Serializable, Comparable<Codec2.DecodeResult>
- Enclosing interface:
- Codec2
public static enum Codec2.DecodeResult
- extends Enum<Codec2.DecodeResult>
NEED_MORE_INPUT
public static final Codec2.DecodeResult NEED_MORE_INPUT
SKIP_SOME_INPUT
public static final Codec2.DecodeResult SKIP_SOME_INPUT
values
public static Codec2.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 (Codec2.DecodeResult c : Codec2.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 Codec2.DecodeResult 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
NullPointerException
- if the argument is null
Copyright © 2012–2017 Alibaba. All rights reserved.