public static enum HttpPostRequestEncoder.EncoderMode extends java.lang.Enum<HttpPostRequestEncoder.EncoderMode>
Enum Constant and Description |
---|
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(java.lang.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 recommendations this for submitting post form data.public static final HttpPostRequestEncoder.EncoderMode RFC3986
public static HttpPostRequestEncoder.EncoderMode[] values()
for (HttpPostRequestEncoder.EncoderMode c : HttpPostRequestEncoder.EncoderMode.values()) System.out.println(c);
public static HttpPostRequestEncoder.EncoderMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2008–2018 The Netty Project. All rights reserved.