Package | Description |
---|---|
com.jaunt |
Jaunt [website] is a web-scraping & automation library that provides a lightweight HTTP useragent (headless browser), including JSON parser.
|
Modifier and Type | Method and Description |
---|---|
MultiMap<String,String> |
HttpResponse.getHeaders()
Retrieve a MultiMap of HTTP response headers.
|
MultiMap<String,String> |
UserAgent.getHeaders(String key)
Returns a MultiMap containing the headers received for the most recent request, where each header name is associated with one or more header values.
|
MultiMap<String,String> |
Document.getHeaders(String key)
Returns a MultiMap containing the headers received for this document, where each header name is associated with one or more header values.
|
MultiMap<String,File> |
HttpRequest.getNameFilePairs()
Returns a live MultiMap of name-File pairs, representing the files to be uploaded.
|
MultiMap<String,String> |
HttpRequest.getNameValuePairs()
Returns a MultiMap of name-value pairs, where each name can be associated with multiple values.
|
Modifier and Type | Method and Description |
---|---|
static HttpRequest |
HttpRequest.make(short httpMethod,
String url,
short enctype,
MultiMap<String,String> nameValuePairs,
MultiMap<String,File> nameFilePairs,
String content,
Map<String,String> additionalHeaders)
Creates and returns an HTTP request.
|
static HttpRequest |
HttpRequest.make(short httpMethod,
String url,
short enctype,
MultiMap<String,String> nameValuePairs,
MultiMap<String,File> nameFilePairs,
String content,
Map<String,String> additionalHeaders)
Creates and returns an HTTP request.
|
static HttpRequest |
HttpRequest.makeGET(String url,
MultiMap<String,String> nameValuePairs,
Map<String,String> additionalHeaders)
Creates and returns a GET HttpRequest.
|
static HttpRequest |
HttpRequest.makePOST(String url,
MultiMap<String,String> nameValuePairs)
Creates and returns a POST HttpRequest.
|
static HttpRequest |
HttpRequest.makePOST(String url,
short enctype,
MultiMap<String,String> nameValuePairs,
MultiMap<String,File> nameFilePairs,
Map<String,String> additionalHeaders)
Creates and returns a POST HttpRequest.
|
static HttpRequest |
HttpRequest.makePOST(String url,
short enctype,
MultiMap<String,String> nameValuePairs,
MultiMap<String,File> nameFilePairs,
Map<String,String> additionalHeaders)
Creates and returns a POST HttpRequest.
|