public enum MultipartRequestFlag extends Enum<MultipartRequestFlag> implements OfpBitmapEnum
| Enum Constant and Description |
|---|
REQUEST_MORE
More requests to follow; Since 1.3.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBit(ProtocolVersion pv)
Returns the bit value for the constant, under the given protocol
version.
|
String |
toDisplayString()
Returns a string representation of the constant, suitable for
presentation in a display.
|
String |
toString() |
static MultipartRequestFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultipartRequestFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultipartRequestFlag REQUEST_MORE
public static MultipartRequestFlag[] values()
for (MultipartRequestFlag c : MultipartRequestFlag.values()) System.out.println(c);
public static MultipartRequestFlag valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic int getBit(ProtocolVersion pv)
OfpBitmapEnumgetBit in interface OfpBitmapEnumpv - the protocol versionpublic String toString()
toString in class Enum<MultipartRequestFlag>public String toDisplayString()
OfpBitmapEnumtoDisplayString in interface OfpBitmapEnumCopyright © 2014. All Rights Reserved.