public final class FormEncodingType extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static FormEncodingType |
MULTIPART
Multipart form encoding (used to be a constant in HttpClient but it was deprecated with no alternative).
|
static FormEncodingType |
TEXT_PLAIN
text/plain.
|
static FormEncodingType |
URL_ENCODED
URL-encoded form encoding.
|
Modifier and Type | Method and Description |
---|---|
static FormEncodingType |
getInstance(String name)
Returns the constant that matches the specified name.
|
String |
getName()
Returns the name of this encoding type.
|
String |
toString()
Returns a string representation of this object.
|
public static final FormEncodingType URL_ENCODED
public static final FormEncodingType MULTIPART
public static final FormEncodingType TEXT_PLAIN
public String getName()
public static FormEncodingType getInstance(String name)
name
- the name to search byURL_ENCODED
if none match.Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.