Uses of Class
org.htmlunit.HttpMethod
-
Packages that use HttpMethod Package Description org.htmlunit Framework classes (contains theWebClient
class which is the main entry point). -
-
Uses of HttpMethod in org.htmlunit
Fields in org.htmlunit declared as HttpMethod Modifier and Type Field Description private HttpMethod
WebRequest. httpMethod_
Methods in org.htmlunit that return HttpMethod Modifier and Type Method 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(java.lang.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.Methods in org.htmlunit with parameters of type HttpMethod Modifier and Type Method Description private static org.apache.http.client.methods.HttpRequestBase
HttpWebConnection. buildHttpMethod(HttpMethod submitMethod, java.net.URI uri)
Creates and returns a new HttpClient HTTP method based on the specified parameters.void
WebRequest. setHttpMethod(HttpMethod submitMethod)
Sets the HTTP submit method to use.Constructors in org.htmlunit with parameters of type HttpMethod Constructor Description WebRequest(java.net.URL url, HttpMethod submitMethod)
Instantiates aWebRequest
for the specified URL using the specified HTTP submit method.WebResponse(WebResponseData responseData, java.net.URL url, HttpMethod requestMethod, long loadTime)
Constructs with all data.
-