public static enum HttpPostRequestEncoder.EncoderMode extends Enum<HttpPostRequestEncoder.EncoderMode>
Enum Constant and Description |
---|
HTML5
The HTML5 spec disallows mixed mode in multipart/form-data
requests.
|
RFC1738
Legacy mode which should work for most.
|
RFC3986
Mode which is more new and is used for OAUTH
|
Modifier and Type | Method and Description |
---|---|
static HttpPostRequestEncoder.EncoderMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpPostRequestEncoder.EncoderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpPostRequestEncoder.EncoderMode RFC1738
RFC3986
. The W3C form recommentations this for submitting post form data.public static final HttpPostRequestEncoder.EncoderMode RFC3986
public static final HttpPostRequestEncoder.EncoderMode HTML5
public static HttpPostRequestEncoder.EncoderMode[] values()
for (HttpPostRequestEncoder.EncoderMode c : HttpPostRequestEncoder.EncoderMode.values()) System.out.println(c);
public static HttpPostRequestEncoder.EncoderMode 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 nullCopyright © 2008-2016 The Netty Project. All Rights Reserved.