|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<HttpPostBodyUtil.TransferEncodingMechanism>
org.jboss.netty.handler.codec.http2.HttpPostBodyUtil.TransferEncodingMechanism
public static enum HttpPostBodyUtil.TransferEncodingMechanism
Allowed mechanism for multipart mechanism := "7bit" / "8bit" / "binary" Not allowed: "quoted-printable" / "base64"
Enum Constant Summary | |
---|---|
BINARY
Could be long text not in ASCII - no encoding |
|
BIT7
Default encoding |
|
BIT8
Short lines but not in ASCII - no encoding |
Field Summary | |
---|---|
String |
value
|
Method Summary | |
---|---|
String |
toString()
|
static HttpPostBodyUtil.TransferEncodingMechanism |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HttpPostBodyUtil.TransferEncodingMechanism[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final HttpPostBodyUtil.TransferEncodingMechanism BIT7
public static final HttpPostBodyUtil.TransferEncodingMechanism BIT8
public static final HttpPostBodyUtil.TransferEncodingMechanism BINARY
Field Detail |
---|
public String value
Method Detail |
---|
public static HttpPostBodyUtil.TransferEncodingMechanism[] values()
for (HttpPostBodyUtil.TransferEncodingMechanism c : HttpPostBodyUtil.TransferEncodingMechanism.values()) System.out.println(c);
public static HttpPostBodyUtil.TransferEncodingMechanism valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<HttpPostBodyUtil.TransferEncodingMechanism>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |