Package | Description |
---|---|
com.gargoylesoftware.htmlunit |
Framework classes (contains the WebClient class which is the main entry point).
|
com.gargoylesoftware.htmlunit.util |
Misc utilities
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
WebRequestSettings.getHttpMethod()
Returns the HTTP submit method to use.
|
HttpMethod |
MockWebConnection.getLastMethod()
Returns the method that was used in the last call to submitRequest().
|
HttpMethod |
WebResponse.getRequestMethod()
Deprecated.
as of 2.6, please use
WebResponse.getRequestSettings() .getHttpMethod() |
HttpMethod |
WebResponseImpl.getRequestMethod()
Deprecated.
As of 2.6, please use
WebResponseImpl.getRequestSettings() .getHttpMethod() |
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 |
WebRequestSettings.setHttpMethod(HttpMethod submitMethod)
Sets the HTTP submit method to use.
|
Constructor and Description |
---|
WebRequestSettings(URL url,
HttpMethod submitMethod)
Instantiates a
WebRequestSettings for the specified URL using the specified HTTP submit method. |
WebResponseImpl(WebResponseData responseData,
URL url,
HttpMethod requestMethod,
long loadTime)
Constructs with all data.
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
WebResponseWrapper.getRequestMethod()
Deprecated.
As of 2.6, please use
WebResponseWrapper.getRequestSettings() .getHttpMethod() |
Copyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.