Package | Description |
---|---|
HTTPClient |
The Grinder HTTP Plugin incorporates Ronald Tschal�r's HTTPClient
library.
|
net.grinder.plugin.http |
HTTP plug-in that provides a pool of connections per worker thread.
|
Modifier and Type | Method and Description |
---|---|
static Object |
Codecs.chunkedDecode(InputStream input)
Decodes chunked data.
|
static void |
HTTPConnection.dontProxyFor(String host)
Add host to the list of hosts which should be accessed
directly, not via any proxy set by
setProxyServer() . |
static boolean |
HTTPConnection.doProxyFor(String host)
Remove host from the list of hosts for which the proxy
should not be used.
|
static String |
Util.getParameter(String param,
String hdr)
retrieves the value associated with the parameter param in
a given header string.
|
String |
HTTPResponse.getText()
Reads all the response data into a buffer and turns it into a string
using the appropriate character converter.
|
static boolean |
Util.hasToken(String header,
String token)
Determines if the given header contains a certain token.
|
static NVPair[] |
Codecs.mpFormDataDecode(byte[] data,
String cont_type,
String dir)
This method decodes a multipart/form-data encoded string.
|
static NVPair[] |
Codecs.mpFormDataDecode(byte[] data,
String cont_type,
String dir,
FilenameMangler mangler)
This method decodes a multipart/form-data encoded string.
|
static Vector |
Util.parseHeader(String header)
This parses the value part of a header.
|
static Vector |
Util.parseHeader(String header,
boolean dequote)
This parses the value part of a header.
|
static NVPair[] |
Codecs.query2nv(String query)
Turns a string of the form "name1=value1&name2=value2&name3=value3"
into an array of name/value pairs.
|
static String |
Codecs.quotedPrintableDecode(String str)
This method does a quoted-printable decoding of the given string
according to RFC-2045 (Section 6.7).
|
static String |
URI.unescape(String str,
BitSet reserved)
Unescape escaped characters (i.e.
|
static String |
Codecs.URLDecode(String str)
This method decodes the given urlencoded string.
|
Constructor and Description |
---|
URI(String uri)
Constructs a URI from the given string representation.
|
URI(String scheme,
String opaque)
Constructs an opaque URI from the given parts.
|
URI(String scheme,
String host,
int port,
String path)
Constructs a URI from the given parts.
|
URI(String scheme,
String host,
String path)
Constructs a URI from the given parts, using the default port for
this scheme (if known).
|
URI(String scheme,
String userinfo,
String host,
int port,
String path,
String query,
String fragment)
Constructs a URI from the given parts.
|
URI(URI base,
String rel_uri)
Constructs a URI from the given string representation, relative to
the given base URI.
|
URI(URL url)
Construct a URI from the given URL.
|
Modifier and Type | Method and Description |
---|---|
static HTTPPluginConnection |
HTTPPluginControl.getThreadConnection(String url)
Returns a
HTTPPluginConnection for a particular URL. |
void |
HTTPRequest.setUrl(String url)
Sets the default URL.
|
Copyright © 2000-2014. All Rights Reserved.