|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use NameValuePair | |
---|---|
com.gargoylesoftware.htmlunit | Framework classes (contains the WebClient class which is the main entry point). |
com.gargoylesoftware.htmlunit.html | Classes specific to HTML pages, particularly the HtmlPage which represents an HTML document and provides access to its content. |
com.gargoylesoftware.htmlunit.util | Misc utilities |
Uses of NameValuePair in com.gargoylesoftware.htmlunit |
---|
Methods in com.gargoylesoftware.htmlunit that return types with arguments of type NameValuePair | |
---|---|
List<NameValuePair> |
MockWebConnection.getLastParameters()
Returns the parameters that were used in the last call to submitRequest(). |
List<NameValuePair> |
WebRequest.getRequestParameters()
Retrieves the request parameters to use. |
List<NameValuePair> |
WebResponseData.getResponseHeaders()
|
List<NameValuePair> |
WebResponse.getResponseHeaders()
Returns the response headers as a list of NameValuePair s. |
Method parameters in com.gargoylesoftware.htmlunit with type arguments of type NameValuePair | |
---|---|
void |
MockWebConnection.setDefaultResponse(String content,
int statusCode,
String statusMessage,
String contentType,
List<? extends NameValuePair> responseHeaders)
Sets the response that will be returned when the specified URL is requested. |
void |
MockWebConnection.setDefaultResponse(String content,
int statusCode,
String statusMessage,
String contentType,
String charset,
List<? extends NameValuePair> responseHeaders)
Sets the response that will be returned when the specified URL is requested. |
void |
WebRequest.setRequestParameters(List<NameValuePair> requestParameters)
Sets the request parameters to use. |
void |
MockWebConnection.setResponse(URL url,
byte[] content,
int statusCode,
String statusMessage,
String contentType,
List<? extends NameValuePair> responseHeaders)
Sets the response that will be returned when the specified URL is requested. |
void |
MockWebConnection.setResponse(URL url,
String content,
int statusCode,
String statusMessage,
String contentType,
List<? extends NameValuePair> responseHeaders)
Sets the response that will be returned when the specified URL is requested. |
void |
MockWebConnection.setResponse(URL url,
String content,
int statusCode,
String statusMessage,
String contentType,
String charset,
List<? extends NameValuePair> responseHeaders)
Sets the response that will be returned when the specified URL is requested. |
Constructor parameters in com.gargoylesoftware.htmlunit with type arguments of type NameValuePair | |
---|---|
WebResponseData(byte[] body,
int statusCode,
String statusMessage,
List<NameValuePair> responseHeaders)
Constructs with a raw byte[] (mostly for testing). |
|
WebResponseData(DownloadedContent responseBody,
int statusCode,
String statusMessage,
List<NameValuePair> responseHeaders)
Constructor. |
|
WebResponseData(InputStream bodyStream,
int statusCode,
String statusMessage,
List<NameValuePair> responseHeaders)
Deprecated. As of HtmlUnit-2.8. |
|
WebResponseData(int statusCode,
String statusMessage,
List<NameValuePair> responseHeaders)
Constructs without data stream for subclasses that override getBody(). |
Uses of NameValuePair in com.gargoylesoftware.htmlunit.html |
---|
Methods in com.gargoylesoftware.htmlunit.html that return NameValuePair | |
---|---|
NameValuePair[] |
HtmlIsIndex.getSubmitKeyValuePairs()
Returns an array of NameValuePair s that are the values that will be sent
back to the server whenever this element's containing form is submitted. |
NameValuePair[] |
HtmlFileInput.getSubmitKeyValuePairs()
Returns an array of NameValuePair s that are the values that will be sent
back to the server whenever this element's containing form is submitted. |
NameValuePair[] |
HtmlSubmitInput.getSubmitKeyValuePairs()
Returns an array of NameValuePair s that are the values that will be sent
back to the server whenever this element's containing form is submitted. |
NameValuePair[] |
HtmlImageInput.getSubmitKeyValuePairs()
Returns an array of NameValuePair s that are the values that will be sent
back to the server whenever this element's containing form is submitted. |
NameValuePair[] |
HtmlTextArea.getSubmitKeyValuePairs()
Returns an array of NameValuePair s that are the values that will be sent
back to the server whenever this element's containing form is submitted. |
NameValuePair[] |
HtmlButton.getSubmitKeyValuePairs()
Returns an array of NameValuePair s that are the values that will be sent
back to the server whenever this element's containing form is submitted. |
NameValuePair[] |
HtmlSelect.getSubmitKeyValuePairs()
Returns an array of NameValuePair s that are the values that will be sent
back to the server whenever this element's containing form is submitted. |
NameValuePair[] |
HtmlInput.getSubmitKeyValuePairs()
Returns an array of NameValuePair s that are the values that will be sent
back to the server whenever this element's containing form is submitted. |
NameValuePair[] |
SubmittableElement.getSubmitKeyValuePairs()
Returns an array of NameValuePair s that are the values that will be sent
back to the server whenever this element's containing form is submitted. |
Uses of NameValuePair in com.gargoylesoftware.htmlunit.util |
---|
Subclasses of NameValuePair in com.gargoylesoftware.htmlunit.util | |
---|---|
class |
KeyDataPair
A holder for a key/value pair that represents a file to upload. |
Methods in com.gargoylesoftware.htmlunit.util that return types with arguments of type NameValuePair | |
---|---|
List<NameValuePair> |
WebResponseWrapper.getResponseHeaders()
Returns the response headers as a list of NameValuePair s. |
Methods in com.gargoylesoftware.htmlunit.util with parameters of type NameValuePair | |
---|---|
static org.apache.http.NameValuePair[] |
NameValuePair.toHttpClient(NameValuePair[] pairs)
Converts the specified name/value pairs into HttpClient name/value pairs. |
Method parameters in com.gargoylesoftware.htmlunit.util with type arguments of type NameValuePair | |
---|---|
static String |
EncodingSniffer.sniffEncoding(List<NameValuePair> headers,
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 String |
EncodingSniffer.sniffHtmlEncoding(List<NameValuePair> headers,
InputStream content)
Sniffs encoding settings from the specified HTML content and/or the corresponding HTTP headers based on the HTML5 encoding sniffing algorithm. |
static String |
EncodingSniffer.sniffUnknownContentTypeEncoding(List<NameValuePair> headers,
InputStream content)
Sniffs encoding settings from the specified content of unknown type by looking for Content-Type information in the HTTP headers and Byte Order Mark information in the content. |
static String |
EncodingSniffer.sniffXmlEncoding(List<NameValuePair> headers,
InputStream content)
Sniffs encoding settings from the specified XML content and/or the corresponding HTTP headers using a custom algorithm. |
static org.apache.http.NameValuePair[] |
NameValuePair.toHttpClient(List<NameValuePair> pairs)
Converts the specified name/value pairs into HttpClient name/value pairs. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |