Uses of Enum
org.htmlunit.HttpMethod
Packages that use HttpMethod
-
Uses of HttpMethod in org.htmlunit
Subclasses with type arguments of type HttpMethod in org.htmlunitModifier and TypeClassDescriptionenumRepresents the various ways a page can be submitted.Methods in org.htmlunit that return HttpMethodModifier and TypeMethodDescriptionWebRequest.getHttpMethod()Returns the HTTP submit method to use.MockWebConnection.getLastMethod()Returns the method that was used in the last call to submitRequest().static HttpMethodReturns 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 HttpMethodModifier and TypeMethodDescriptionvoidWebRequest.setHttpMethod(HttpMethod submitMethod) Sets the HTTP submit method to use.Constructors in org.htmlunit with parameters of type HttpMethodModifierConstructorDescriptionWebRequest(URL url, HttpMethod submitMethod) Instantiates aWebRequestfor the specified URL using the specified HTTP submit method.WebResponse(WebResponseData responseData, URL url, HttpMethod requestMethod, long loadTime) Constructs with all data.