Uses of Class
org.htmlunit.WebRequest
-
Packages that use WebRequest 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 theWebClientclass which is the main entry point).org.htmlunit.html Classes specific to HTML pages, particularly theHtmlPagewhich represents an HTML document and provides access to its content.org.htmlunit.util Miscellaneous utilities. -
-
Uses of WebRequest in com.xceptance.xlt.api.actions
Methods in com.xceptance.xlt.api.actions that return WebRequest Modifier and Type Method Description protected WebRequestAbstractWebAction. createWebRequestSettings(java.net.URL url, HttpMethod method, java.util.List<NameValuePair> requestParameters)Creates aWebRequestobject from the passed URL, request parameters and request method. -
Uses of WebRequest in com.xceptance.xlt.api.engine
Methods in com.xceptance.xlt.api.engine that return WebRequest Modifier and Type Method Description WebRequestNetworkData. getRequest()Returns the underlying request object for direct access.Methods in com.xceptance.xlt.api.engine with parameters of type WebRequest Modifier and Type Method Description booleanRequestFilter. accepts(WebRequest request)Returns whether or not the this filter accepts the given request.Constructors in com.xceptance.xlt.api.engine with parameters of type WebRequest Constructor Description NetworkData(WebRequest request, WebResponse response)Constructor. -
Uses of WebRequest in org.htmlunit
Methods in org.htmlunit that return WebRequest Modifier and Type Method Description WebRequestMockWebConnection. getLastWebRequest()Returns theWebRequestthat was used in the in the last call toMockWebConnection.getResponse(WebRequest).WebRequestWebResponse. getWebRequest()Returns the request used to load this response.static WebRequestWebRequest. newAboutBlankRequest()Methods in org.htmlunit with parameters of type WebRequest Modifier and Type Method Description booleanCache. cacheIfPossible(WebRequest request, WebResponse response, java.lang.Object toCache)Caches the specified object, if the corresponding request and response objects indicate that it is cacheable.protected voidHttpWebConnection. configureHttpProcessorBuilder(org.apache.http.impl.client.HttpClientBuilder builder, WebRequest webRequest)voidWebClient. download(WebWindow requestingWindow, java.lang.String target, WebRequest request, boolean checkHash, boolean forceLoad, boolean forceAttachment, java.lang.String description)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Perform the downloads and stores it for loading later into a window.java.lang.ObjectCache. getCachedObject(WebRequest request)Returns the cached object corresponding to the specified request.WebResponseCache. getCachedResponse(WebRequest request)Returns the cached response corresponding to the specified request.protected java.util.List<org.apache.http.HttpRequestInterceptor>HttpWebConnection. getHttpRequestInterceptors(WebRequest webRequest)<P extends Page>
PWebClient. getPage(WebRequest request)Convenient method to load a web request into the current top WebWindow.<P extends Page>
PWebClient. getPage(WebWindow webWindow, WebRequest webRequest)Send a request to a server and return a Page that represents the response from the server.MockWebConnection.RawResponseDataMockWebConnection. getRawResponse(WebRequest request)Gets the raw response configured for the request.WebResponseHttpWebConnection. getResponse(WebRequest webRequest)Submits a request and retrieves a response.WebResponseMockWebConnection. getResponse(WebRequest request)Submits a request and retrieves a response.WebResponseWebConnection. getResponse(WebRequest request)Submits a request and retrieves a response.protected intHttpWebConnection. getTimeout(WebRequest webRequest)Returns the timeout to use for socket and connection timeouts for HttpConnectionManager.protected booleanCache. isCacheable(WebRequest request, WebResponse response)Determines if the specified response can be cached.WebResponseWebClient. loadWebResponse(WebRequest webRequest)Loads aWebResponsefrom the server.protected WebResponseHttpWebConnection. makeWebResponse(org.apache.http.HttpResponse httpResponse, WebRequest webRequest, DownloadedContent responseBody, long loadTime)Converts an HttpMethod into a WebResponse.protected WebResponseHttpWebConnection. newWebResponseInstance(WebResponseData responseData, long loadTime, WebRequest webRequest)Constructs an appropriate WebResponse.booleanAjaxController. processSynchron(HtmlPage page, WebRequest request, boolean async)Gets notified of an AJAX call to determine how it should be processed.booleanNicelyResynchronizingAjaxController. processSynchron(HtmlPage page, WebRequest settings, boolean async)Resynchronizes calls performed from the thread where this instance has been created.Constructors in org.htmlunit with parameters of type WebRequest Constructor Description WebResponse(WebResponseData responseData, WebRequest request, long loadTime)Constructs with all data. -
Uses of WebRequest in org.htmlunit.html
Methods in org.htmlunit.html that return WebRequest Modifier and Type Method Description WebRequestHtmlForm. getWebRequest(SubmittableElement submitElement)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Gets the request for a submission of this form with the specified SubmittableElement.WebRequestHtmlLink. getWebRequest()Returns the request which will allow us to retrieve the content referenced by thehrefattribute.Methods in org.htmlunit.html with parameters of type WebRequest Modifier and Type Method Description WebResponseHtmlLink. getWebResponse(boolean downloadIfNeeded, WebRequest request)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
If the linked content is not already downloaded it triggers a download. -
Uses of WebRequest in org.htmlunit.util
Methods in org.htmlunit.util that return WebRequest Modifier and Type Method Description WebRequestWebResponseWrapper. getWebRequest()Returns the request used to load this response.Methods in org.htmlunit.util with parameters of type WebRequest Modifier and Type Method Description protected WebResponseFalsifyingWebConnection. createWebResponse(WebRequest wr, java.lang.String content, java.lang.String contentType)Creates a faked WebResponse for the request with the provided content.protected WebResponseFalsifyingWebConnection. createWebResponse(WebRequest wr, java.lang.String content, java.lang.String contentType, int responseCode, java.lang.String responseMessage)Creates a faked WebResponse for the request with the provided content.protected WebResponseFalsifyingWebConnection. deliverFromAlternateUrl(WebRequest webRequest, java.net.URL url)Delivers the content for an alternate URL as if it comes from the requested URL.WebResponseDebuggingWebConnection. getResponse(WebRequest request)Calls the wrapped webconnection and save the received response.WebResponseWebConnectionWrapper. getResponse(WebRequest request)Submits a request and retrieves a response.protected voidDebuggingWebConnection. saveResponse(WebResponse response, WebRequest request)Saves the response content in the temp dir and adds it to the summary page.
-