| Package | Description |
|---|---|
| org.apache.jena.riot.web |
| Modifier and Type | Interface and Description |
|---|---|
interface |
HttpCaptureResponse<T>
Act-on-HTTP-response and produce some object
|
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpOp.CaptureInput
TypedInputStream from an HTTP response.
|
static class |
HttpOp.CaptureString
Capture response as a string (UTF-8 assumed)
|
static class |
HttpResponseLib.HttpCaptureResponseResultSet
Response handling for SPARQL result sets.
|
| Modifier and Type | Field and Description |
|---|---|
static HttpResponseHandler |
HttpResponseLib.httpDumpResponse |
static HttpResponseHandler |
HttpResponseLib.nullResponse |
| Modifier and Type | Method and Description |
|---|---|
static void |
HttpOp.execHttpDelete(String url,
HttpResponseHandler handler)
Executes a HTTP DELETE operation
|
static void |
HttpOp.execHttpDelete(String url,
HttpResponseHandler handler,
org.apache.http.client.HttpClient httpClient,
org.apache.http.protocol.HttpContext httpContext,
HttpAuthenticator authenticator)
Executes a HTTP DELETE operation
|
static void |
HttpOp.execHttpGet(String url,
String acceptHeader,
HttpResponseHandler handler)
Executes a HTTP Get request, handling the response with given handler.
|
static void |
HttpOp.execHttpGet(String url,
String acceptHeader,
HttpResponseHandler handler,
HttpAuthenticator authenticator)
Executes a HTTP Get request handling the response with the given handler.
|
static void |
HttpOp.execHttpGet(String url,
String acceptHeader,
HttpResponseHandler handler,
org.apache.http.client.HttpClient httpClient,
org.apache.http.protocol.HttpContext httpContext,
HttpAuthenticator authenticator)
Executes a HTTP Get request handling the response with one of the given
handlers
|
static void |
HttpOp.execHttpHead(String url,
String acceptString,
HttpResponseHandler handler)
Executes a HTTP HEAD operation
|
static void |
HttpOp.execHttpHead(String url,
String acceptString,
HttpResponseHandler handler,
org.apache.http.client.HttpClient httpClient,
org.apache.http.protocol.HttpContext httpContext,
HttpAuthenticator authenticator)
Executes a HTTP HEAD operation
|
static void |
HttpOp.execHttpPost(String url,
org.apache.http.HttpEntity entity,
String acceptString,
HttpResponseHandler handler)
Executes a HTTP Post
|
static void |
HttpOp.execHttpPost(String url,
org.apache.http.HttpEntity entity,
String acceptHeader,
HttpResponseHandler handler,
org.apache.http.client.HttpClient httpClient,
org.apache.http.protocol.HttpContext httpContext,
HttpAuthenticator authenticator)
POST with response body.
|
static void |
HttpOp.execHttpPost(String url,
String contentType,
InputStream input,
long length,
String acceptType,
HttpResponseHandler handler)
Executes a HTTP POST with request body from an input stream and response
handling.
|
static void |
HttpOp.execHttpPost(String url,
String contentType,
InputStream input,
long length,
String acceptType,
HttpResponseHandler handler,
org.apache.http.client.HttpClient httpClient,
org.apache.http.protocol.HttpContext httpContext,
HttpAuthenticator authenticator)
Executes a HTTP POST with request body from an input stream and response
handling.
|
static void |
HttpOp.execHttpPost(String url,
String contentType,
String content,
String acceptType,
HttpResponseHandler handler,
org.apache.http.client.HttpClient httpClient,
org.apache.http.protocol.HttpContext httpContext,
HttpAuthenticator authenticator)
Executes a HTTP POST with a string as the request body and response
handling
|
static void |
HttpOp.execHttpPostForm(String url,
Params params,
String acceptString,
HttpResponseHandler handler)
Executes a HTTP POST form operation
|
static void |
HttpOp.execHttpPostForm(String url,
Params params,
String acceptHeader,
HttpResponseHandler handler,
org.apache.http.client.HttpClient httpClient,
org.apache.http.protocol.HttpContext httpContext,
HttpAuthenticator authenticator)
Executes a HTTP POST form operation
|
Licenced under the Apache License, Version 2.0