Package | Description |
---|---|
org.htmlunit |
Framework classes (contains the
WebClient
class which is the main entry point). |
Modifier and Type | Field and Description |
---|---|
static FormEncodingType |
FormEncodingType.MULTIPART
Multipart form encoding (used to be a constant in HttpClient but it was deprecated with no alternative).
|
static FormEncodingType |
FormEncodingType.TEXT_PLAIN
text/plain.
|
static FormEncodingType |
FormEncodingType.URL_ENCODED
URL-encoded form encoding.
|
Modifier and Type | Method and Description |
---|---|
FormEncodingType |
WebRequest.getEncodingType()
Returns the form encoding type to use.
|
static FormEncodingType |
FormEncodingType.getInstance(String name)
Returns the constant that matches the specified name.
|
Modifier and Type | Method and Description |
---|---|
void |
WebRequest.setEncodingType(FormEncodingType encodingType)
Sets the form encoding type to use.
|
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.