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 | Field and Description |
---|---|
protected HTTPResponse |
HttpURLConnection.resp
the response
|
Modifier and Type | Method and Description |
---|---|
HTTPResponse |
HTTPConnection.Delete(String file)
Requests that file be DELETEd from the server.
|
HTTPResponse |
HTTPConnection.Delete(String file,
NVPair[] headers)
Requests that file be DELETEd from the server.
|
HTTPResponse |
HTTPConnection.ExtensionMethod(String method,
String file,
byte[] data,
NVPair[] headers)
This is here to allow an arbitrary, non-standard request to be sent.
|
HTTPResponse |
HTTPConnection.ExtensionMethod(String method,
String file,
HttpOutputStream os,
NVPair[] headers)
This is here to allow an arbitrary, non-standard request to be sent.
|
HTTPResponse |
HTTPConnection.Get(String file)
GETs the file.
|
HTTPResponse |
HTTPConnection.Get(String file,
NVPair[] form_data)
GETs the file with a query consisting of the specified form-data.
|
HTTPResponse |
HTTPConnection.Get(String file,
NVPair[] form_data,
NVPair[] headers)
GETs the file with a query consisting of the specified form-data.
|
HTTPResponse |
HTTPConnection.Get(String file,
String query)
GETs the file using the specified query string.
|
HTTPResponse |
HTTPConnection.Get(String file,
String query,
NVPair[] headers)
GETs the file using the specified query string.
|
HTTPResponse |
HTTPConnection.Head(String file)
Sends the HEAD request.
|
HTTPResponse |
HTTPConnection.Head(String file,
NVPair[] form_data)
Sends the HEAD request.
|
HTTPResponse |
HTTPConnection.Head(String file,
NVPair[] form_data,
NVPair[] headers)
Sends the HEAD request.
|
HTTPResponse |
HTTPConnection.Head(String file,
String query)
Sends the HEAD request.
|
HTTPResponse |
HTTPConnection.Head(String file,
String query,
NVPair[] headers)
Sends the HEAD request.
|
HTTPResponse |
HTTPConnection.Options(String file)
Request OPTIONS from the server.
|
HTTPResponse |
HTTPConnection.Options(String file,
NVPair[] headers)
Request OPTIONS from the server.
|
HTTPResponse |
HTTPConnection.Options(String file,
NVPair[] headers,
byte[] data)
Request OPTIONS from the server.
|
HTTPResponse |
HTTPConnection.Options(String file,
NVPair[] headers,
HttpOutputStream stream)
Request OPTIONS from the server.
|
HTTPResponse |
HTTPConnection.Post(String file)
POSTs to the specified file.
|
HTTPResponse |
HTTPConnection.Post(String file,
byte[] data)
POSTs the raw data to the specified file.
|
HTTPResponse |
HTTPConnection.Post(String file,
byte[] data,
NVPair[] headers)
POSTs the raw data to the specified file using the specified headers.
|
HTTPResponse |
HTTPConnection.Post(String file,
HttpOutputStream stream)
POSTs the data written to the output stream to the specified file.
|
HTTPResponse |
HTTPConnection.Post(String file,
HttpOutputStream stream,
NVPair[] headers)
POSTs the data written to the output stream to the specified file
using the specified headers.
|
HTTPResponse |
HTTPConnection.Post(String file,
NVPair[] form_data)
POSTs form-data to the specified file.
|
HTTPResponse |
HTTPConnection.Post(String file,
NVPair[] form_data,
NVPair[] headers)
POST's form-data to the specified file using the specified headers.
|
HTTPResponse |
HTTPConnection.Post(String file,
String data)
POSTs the data to the specified file.
|
HTTPResponse |
HTTPConnection.Post(String file,
String data,
NVPair[] headers)
POSTs the data to the specified file using the specified headers.
|
HTTPResponse |
HTTPConnection.Put(String file,
byte[] data)
PUTs the raw data into the specified file.
|
HTTPResponse |
HTTPConnection.Put(String file,
byte[] data,
NVPair[] headers)
PUTs the raw data into the specified file using the additional
headers.
|
HTTPResponse |
HTTPConnection.Put(String file,
HttpOutputStream stream)
PUTs the data written to the output stream into the specified file.
|
HTTPResponse |
HTTPConnection.Put(String file,
HttpOutputStream stream,
NVPair[] headers)
PUTs the data written to the output stream into the specified file
using the additional headers.
|
HTTPResponse |
HTTPConnection.Put(String file,
String data)
PUTs the data into the specified file.
|
HTTPResponse |
HTTPConnection.Put(String file,
String data,
NVPair[] headers)
PUTs the data into the specified file using the additional headers
for the request.
|
protected HTTPResponse |
HTTPConnection.setupRequest(String method,
String resource,
NVPair[] headers,
byte[] entity,
HttpOutputStream stream)
Sets up the request, creating the list of headers to send and
creating instances of the modules.
|
HTTPResponse |
HTTPConnection.Trace(String file)
Requests a TRACE.
|
HTTPResponse |
HTTPConnection.Trace(String file,
NVPair[] headers)
Requests a TRACE.
|
Modifier and Type | Method and Description |
---|---|
HTTPResponse |
HTTPRequest.DELETE()
Makes an HTTP
DELETE request. |
HTTPResponse |
HTTPRequest.DELETE(String uri)
Makes an HTTP
DELETE request. |
HTTPResponse |
HTTPRequest.DELETE(String uri,
NVPair[] headers)
Makes an HTTP
DELETE request. |
HTTPResponse |
HTTPRequest.GET()
Makes an HTTP
GET request. |
HTTPResponse |
HTTPRequest.GET(NVPair[] queryData)
Makes an HTTP
GET request. |
HTTPResponse |
HTTPRequest.GET(String uri)
Makes an HTTP
GET request. |
HTTPResponse |
HTTPRequest.GET(String uri,
NVPair[] queryData)
Makes an HTTP
GET request. |
HTTPResponse |
HTTPRequest.GET(String uri,
NVPair[] queryData,
NVPair[] headers)
Makes an HTTP
GET request. |
HTTPResponse |
HTTPUtilities.getLastResponse()
Return the response for the last request made by the calling worker thread.
|
HTTPResponse |
HTTPRequest.HEAD()
Makes an HTTP
HEAD request. |
HTTPResponse |
HTTPRequest.HEAD(NVPair[] queryData)
Makes an HTTP
HEAD request. |
HTTPResponse |
HTTPRequest.HEAD(String uri)
Makes an HTTP
HEAD request. |
HTTPResponse |
HTTPRequest.HEAD(String uri,
NVPair[] queryData)
Makes an HTTP
HEAD request. |
HTTPResponse |
HTTPRequest.HEAD(String uri,
NVPair[] queryData,
NVPair[] headers)
Makes an HTTP
HEAD request. |
HTTPResponse |
HTTPRequest.OPTIONS()
Makes an HTTP
OPTIONS request. |
HTTPResponse |
HTTPRequest.OPTIONS(String uri)
Makes an HTTP
OPTIONS request. |
HTTPResponse |
HTTPRequest.OPTIONS(String uri,
byte[] data)
Makes an HTTP
OPTIONS request. |
HTTPResponse |
HTTPRequest.OPTIONS(String uri,
byte[] data,
NVPair[] headers)
Makes an HTTP
OPTIONS request. |
HTTPResponse |
HTTPRequest.OPTIONS(String uri,
InputStream inputStream)
Makes an HTTP
OPTIONS request. |
HTTPResponse |
HTTPRequest.OPTIONS(String uri,
InputStream inputStream,
NVPair[] headers)
Makes an HTTP
OPTIONS request. |
HTTPResponse |
HTTPRequest.POST()
Makes an HTTP
POST request. |
HTTPResponse |
HTTPRequest.POST(NVPair[] formData)
Makes an HTTP
POST request. |
HTTPResponse |
HTTPRequest.POST(String uri)
Makes an HTTP
POST request. |
HTTPResponse |
HTTPRequest.POST(String uri,
byte[] data)
Makes an HTTP
POST request. |
HTTPResponse |
HTTPRequest.POST(String uri,
byte[] data,
NVPair[] headers)
Makes an HTTP
POST request. |
HTTPResponse |
HTTPRequest.POST(String uri,
InputStream inputStream)
Makes an HTTP
POST request. |
HTTPResponse |
HTTPRequest.POST(String uri,
InputStream inputStream,
NVPair[] headers)
Makes an HTTP
POST request. |
HTTPResponse |
HTTPRequest.POST(String uri,
NVPair[] formData)
Makes an HTTP
POST request. |
HTTPResponse |
HTTPRequest.POST(String uri,
NVPair[] formData,
NVPair[] headers)
Makes an HTTP
POST request. |
HTTPResponse |
HTTPRequest.POST(String uri,
NVPair[] formData,
NVPair[] headers,
boolean isMultipart)
Makes an HTTP
POST request. |
HTTPResponse |
HTTPRequest.PUT()
Makes an HTTP
PUT request. |
HTTPResponse |
HTTPRequest.PUT(String uri)
Makes an HTTP
PUT request. |
HTTPResponse |
HTTPRequest.PUT(String uri,
byte[] data)
Makes an HTTP
PUT request. |
HTTPResponse |
HTTPRequest.PUT(String uri,
byte[] data,
NVPair[] headers)
Makes an HTTP
PUT request. |
HTTPResponse |
HTTPRequest.PUT(String uri,
InputStream inputStream)
Makes an HTTP
PUT request. |
HTTPResponse |
HTTPRequest.PUT(String uri,
InputStream inputStream,
NVPair[] headers)
Makes an HTTP
PUT request. |
HTTPResponse |
HTTPRequest.TRACE()
Makes an HTTP
TRACE request. |
HTTPResponse |
HTTPRequest.TRACE(String uri)
Makes an HTTP
TRACE request. |
HTTPResponse |
HTTPRequest.TRACE(String uri,
NVPair[] headers)
Makes an HTTP
TRACE request. |
Modifier and Type | Method and Description |
---|---|
protected void |
HTTPRequest.processResponse(HTTPResponse response)
Subclasses of HTTPRequest that wish to post-process responses
should override this method.
|
Copyright © 2000-2014. All Rights Reserved.