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)
OfpBitmapEnum
getBit
in interface OfpBitmapEnum
pv
- the protocol versionpublic String toString()
toString
in class Enum<MultipartRequestFlag>
public String toDisplayString()
OfpBitmapEnum
toDisplayString
in interface OfpBitmapEnum
Copyright © 2016. All Rights Reserved.