Package | Description |
---|---|
org.htmlunit |
Framework classes (contains the
WebClient
class which is the main entry point). |
Modifier and Type | Method and Description |
---|---|
HttpMethod |
WebRequest.getHttpMethod()
Returns the HTTP submit method to use.
|
HttpMethod |
MockWebConnection.getLastMethod()
Returns the method that was used in the last call to submitRequest().
|
static HttpMethod |
HttpMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
WebRequest.setHttpMethod(HttpMethod submitMethod)
Sets the HTTP submit method to use.
|
Constructor and Description |
---|
WebRequest(URL url,
HttpMethod submitMethod)
Instantiates a
WebRequest for the specified URL using the specified HTTP submit method. |
WebResponse(WebResponseData responseData,
URL url,
HttpMethod requestMethod,
long loadTime)
Constructs with all data.
|
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.