Uses of Class
org.htmlunit.util.NameValuePair
-
Packages that use NameValuePair 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 NameValuePair in com.xceptance.xlt.api.actions
Fields in com.xceptance.xlt.api.actions with type parameters of type NameValuePair Modifier and Type Field Description protected static java.util.List<NameValuePair>AbstractWebAction. EMPTY_PARAMETER_LISTAn empty request parameter list.Method parameters in com.xceptance.xlt.api.actions with type arguments of type NameValuePair 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.protected voidAbstractHtmlPageAction. loadPage(java.net.URL url, HttpMethod method, java.util.List<NameValuePair> requestParameters)Loads the page using the given request method from the passed URL.protected voidAbstractHtmlPageAction. loadPage(java.net.URL url, HttpMethod method, java.util.List<NameValuePair> requestParameters, long waitingTime)Loads the page using the given request method from the passed URL.protected voidAbstractLightWeightPageAction. loadPage(java.net.URL url, HttpMethod method, java.util.List<NameValuePair> requestParameters)Loads the page using the given request method from the passed URL and stores it internally. -
Uses of NameValuePair in com.xceptance.xlt.api.engine
Methods in com.xceptance.xlt.api.engine that return types with arguments of type NameValuePair Modifier and Type Method Description java.util.List<NameValuePair>NetworkData. getRequestParameters()Returns the request parameters.java.util.List<NameValuePair>NetworkData. getResponseHeaders()Returns the response HTTP headers. -
Uses of NameValuePair in org.htmlunit
Methods in org.htmlunit that return types with arguments of type NameValuePair Modifier and Type Method Description java.util.List<NameValuePair>MockWebConnection.RawResponseData. getHeaders()Gets the configured headers.java.util.List<NameValuePair>MockWebConnection. getLastParameters()Returns the parameters that were used in the last call to submitRequest().java.util.List<NameValuePair>WebRequest. getParameters()Retrieves the request parameters in use.java.util.List<NameValuePair>WebRequest. getRequestParameters()INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Retrieves the request parameters to use.java.util.List<NameValuePair>WebResponse. getResponseHeaders()Returns the response headers as a list ofNameValuePairs.java.util.List<NameValuePair>WebResponseData. getResponseHeaders()Method parameters in org.htmlunit with type arguments of type NameValuePair Modifier and Type Method Description voidMockWebConnection. setDefaultResponse(java.lang.String content, int statusCode, java.lang.String statusMessage, java.lang.String contentType, java.nio.charset.Charset charset, java.util.List<NameValuePair> headers)Sets the response that will be returned when the specified URL is requested.voidMockWebConnection. setDefaultResponse(java.lang.String content, int statusCode, java.lang.String statusMessage, java.lang.String contentType, java.util.List<NameValuePair> headers)Sets the response that will be returned when the specified URL is requested.voidWebRequest. setRequestParameters(java.util.List<NameValuePair> requestParameters)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Sets the request parameters to use.voidMockWebConnection. setResponse(java.net.URL url, byte[] content, int statusCode, java.lang.String statusMessage, java.lang.String contentType, java.util.List<NameValuePair> headers)Sets the response that will be returned when the specified URL is requested.voidMockWebConnection. setResponse(java.net.URL url, java.lang.String content, int statusCode, java.lang.String statusMessage, java.lang.String contentType, java.nio.charset.Charset charset, java.util.List<NameValuePair> headers)Sets the response that will be returned when the specified URL is requested.voidMockWebConnection. setResponse(java.net.URL url, java.lang.String content, int statusCode, java.lang.String statusMessage, java.lang.String contentType, java.util.List<NameValuePair> headers)Sets the response that will be returned when the specified URL is requested.Constructor parameters in org.htmlunit with type arguments of type NameValuePair Constructor Description WebResponseData(byte[] body, int statusCode, java.lang.String statusMessage, java.util.List<NameValuePair> responseHeaders)Constructs with a raw byte[] (mostly for testing).WebResponseData(int statusCode, java.lang.String statusMessage, java.util.List<NameValuePair> responseHeaders)Constructs without data stream for subclasses that override getBody().WebResponseData(DownloadedContent downloadedContent, int statusCode, java.lang.String statusMessage, java.util.List<NameValuePair> responseHeaders)Constructor. -
Uses of NameValuePair in org.htmlunit.html
Methods in org.htmlunit.html that return NameValuePair Modifier and Type Method Description NameValuePair[]HtmlButton. getSubmitNameValuePairs()Returns an array ofNameValuePairs that are the values that will be sent back to the server whenever this element's containing form is submitted.NameValuePair[]HtmlFileInput. getSubmitNameValuePairs()Returns an array ofNameValuePairs that are the values that will be sent back to the server whenever this element's containing form is submitted.NameValuePair[]HtmlImageInput. getSubmitNameValuePairs()Returns an array ofNameValuePairs that are the values that will be sent back to the server whenever this element's containing form is submitted.NameValuePair[]HtmlInput. getSubmitNameValuePairs()Returns an array ofNameValuePairs that are the values that will be sent back to the server whenever this element's containing form is submitted.NameValuePair[]HtmlIsIndex. getSubmitNameValuePairs()Returns an array ofNameValuePairs that are the values that will be sent back to the server whenever this element's containing form is submitted.NameValuePair[]HtmlSelect. getSubmitNameValuePairs()Returns an array ofNameValuePairs that are the values that will be sent back to the server whenever this element's containing form is submitted.NameValuePair[]HtmlSubmitInput. getSubmitNameValuePairs()Returns an array ofNameValuePairs that are the values that will be sent back to the server whenever this element's containing form is submitted.NameValuePair[]HtmlTextArea. getSubmitNameValuePairs()Returns an array ofNameValuePairs that are the values that will be sent back to the server whenever this element's containing form is submitted.NameValuePair[]SubmittableElement. getSubmitNameValuePairs()Returns an array ofNameValuePairs that are the values that will be sent back to the server whenever this element's containing form is submitted.Methods in org.htmlunit.html that return types with arguments of type NameValuePair Modifier and Type Method Description java.util.List<NameValuePair>HtmlForm. getParameterListForSubmit(SubmittableElement submitElement)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Returns a list ofNameValuePairs that represent the data that will be sent to the server when this form is submitted. -
Uses of NameValuePair in org.htmlunit.util
Subclasses of NameValuePair in org.htmlunit.util Modifier and Type Class Description classKeyDataPairINTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
A holder for a key/value pair that represents a file to upload.Methods in org.htmlunit.util that return NameValuePair Modifier and Type Method Description NameValuePairNameValuePair. normalized()INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
convert null values to empty stringMethods in org.htmlunit.util that return types with arguments of type NameValuePair Modifier and Type Method Description java.util.List<NameValuePair>WebResponseWrapper. getResponseHeaders()Returns the response headers as a list ofNameValuePairs.Method parameters in org.htmlunit.util with type arguments of type NameValuePair Modifier and Type Method Description static java.nio.charset.CharsetEncodingSniffer. sniffEncoding(java.util.List<NameValuePair> headers, java.io.InputStream content)If the specified content is HTML content, this method sniffs encoding settings from the specified HTML content and/or the corresponding HTTP headers based on the HTML5 encoding sniffing algorithm.static java.nio.charset.CharsetEncodingSniffer. sniffEncodingFromHttpHeaders(java.util.List<NameValuePair> headers)Attempts to sniff an encoding from the specified HTTP headers.static java.nio.charset.CharsetEncodingSniffer. sniffHtmlEncoding(java.util.List<NameValuePair> headers, java.io.InputStream content)Sniffs encoding settings from the specified HTML content and/or the corresponding HTTP headers based on the HTML5 encoding sniffing algorithm.static java.nio.charset.CharsetEncodingSniffer. sniffUnknownContentTypeEncoding(java.util.List<NameValuePair> headers, java.io.InputStream content)Sniffs encoding settings from the specified content of unknown type by looking forContent-Typeinformation in the HTTP headers and Byte Order Mark information in the content.static java.nio.charset.CharsetEncodingSniffer. sniffXmlEncoding(java.util.List<NameValuePair> headers, java.io.InputStream content)Sniffs encoding settings from the specified XML content and/or the corresponding HTTP headers using a custom algorithm.
-