|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.htmlunit.FormEncodingType
public final class FormEncodingType
A collection of constants that represent the various ways a form can be encoded when submitted.
| Field Summary | |
|---|---|
static FormEncodingType |
MULTIPART
Multipart form encoding (used to be a constant in HttpClient but it was deprecated with no alternative). |
static FormEncodingType |
URL_ENCODED
URL-encoded form encoding. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final FormEncodingType URL_ENCODED
public static final FormEncodingType MULTIPART
| Method Detail |
|---|
public String getName()
public static FormEncodingType getInstance(String name)
name - the name to search by
URL_ENCODED if none match.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||