# Uses of Enum Class
org.htmlunit.HttpMethod

Packages that use HttpMethod
Package
Description
com.xceptance.xlt.api.actions
Provides abstract super classes for different types of actions.
com.xceptance.xlt.api.engine
Provides core classes as well as classes to represent the different data measured during a test.
org.htmlunit
Framework classes (contains the `WebClient` class which is the main entry point).

- ## Uses of HttpMethod in com.xceptance.xlt.api.actions

  Methods in com.xceptance.xlt.api.actions with parameters of type HttpMethod
  Modifier and Type
  Method
  Description
  `protected WebRequest`
  AbstractWebAction.`createWebRequestSettings(URL url, HttpMethod method, List<NameValuePair> requestParameters)`
  Creates a `WebRequest` object from the passed URL, request parameters and request method.
  `protected void`
  AbstractHtmlPageAction.`loadPage(URL url, HttpMethod method, List<NameValuePair> requestParameters)`
  Loads the page using the given request method from the passed URL.
  `protected void`
  AbstractHtmlPageAction.`loadPage(URL url, HttpMethod method, List<NameValuePair> requestParameters, long waitingTime)`
  Loads the page using the given request method from the passed URL.
  `protected void`
  AbstractLightWeightPageAction.`loadPage(URL url, HttpMethod method, List<NameValuePair> requestParameters)`
  Loads the page using the given request method from the passed URL and stores it internally.

- ## Uses of HttpMethod in com.xceptance.xlt.api.engine

  Methods in com.xceptance.xlt.api.engine that return HttpMethod
  Modifier and Type
  Method
  Description
  `HttpMethod`
  NetworkData.`getRequestMethod()`
  Returns the request method.

- ## Uses of HttpMethod in org.htmlunit

  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(String name)`
  Returns the enum constant of this class with the specified name.
  `static HttpMethod[]`
  HttpMethod.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in org.htmlunit with parameters of type HttpMethod
  Modifier and Type
  Method
  Description
  `protected org.apache.http.client.methods.HttpRequestBase`
  HttpWebConnection.`buildHttpMethod(HttpMethod submitMethod, 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
  Modifier
  Constructor
  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.