Package | Description |
---|---|
com.hp.hpl.jena.query |
ARQ - A query engine for Jena, implementing SPARQL.
|
com.hp.hpl.jena.sparql.engine.http | |
com.hp.hpl.jena.sparql.modify | |
com.hp.hpl.jena.update | |
org.apache.jena.atlas.web.auth | |
org.apache.jena.riot.web | |
org.apache.jena.web |
Modifier and Type | Method and Description |
---|---|
static DatasetAccessor |
DatasetAccessorFactory.createHTTP(String serviceURI,
HttpAuthenticator authenticator)
Create an accessor for a remote HTTP service that requires authentication
|
static QueryEngineHTTP |
QueryExecutionFactory.createServiceRequest(String service,
Query query,
HttpAuthenticator authenticator)
Create a service request for remote execution over HTTP.
|
static QueryExecution |
QueryExecutionFactory.sparqlService(String service,
Query query,
HttpAuthenticator authenticator)
Create a QueryExecution that will access a SPARQL service over HTTP
|
static QueryExecution |
QueryExecutionFactory.sparqlService(String service,
Query query,
List<String> defaultGraphURIs,
List<String> namedGraphURIs,
HttpAuthenticator authenticator)
Create a QueryExecution that will access a SPARQL service over HTTP
|
static QueryExecution |
QueryExecutionFactory.sparqlService(String service,
Query query,
String defaultGraph,
HttpAuthenticator authenticator)
Create a QueryExecution that will access a SPARQL service over HTTP
|
static QueryExecution |
QueryExecutionFactory.sparqlService(String service,
String query,
HttpAuthenticator authenticator)
Create a QueryExecution that will access a SPARQL service over HTTP
|
static QueryExecution |
QueryExecutionFactory.sparqlService(String service,
String query,
List<String> defaultGraphURIs,
List<String> namedGraphURIs,
HttpAuthenticator authenticator)
Create a QueryExecution that will access a SPARQL service over HTTP
|
static QueryExecution |
QueryExecutionFactory.sparqlService(String service,
String query,
String defaultGraph,
HttpAuthenticator authenticator)
Create a QueryExecution that will access a SPARQL service over HTTP
|
Modifier and Type | Method and Description |
---|---|
void |
HttpQuery.setAuthenticator(HttpAuthenticator authenticator)
Sets the authenticator to use
|
void |
QueryEngineHTTP.setAuthenticator(HttpAuthenticator authenticator)
Sets the HTTP authenticator to use, if none is set then the default
authenticator is used.
|
Constructor and Description |
---|
QueryEngineHTTP(String serviceURI,
Query query,
HttpAuthenticator authenticator) |
QueryEngineHTTP(String serviceURI,
String queryString,
HttpAuthenticator authenticator) |
Modifier and Type | Method and Description |
---|---|
HttpAuthenticator |
UpdateProcessRemoteBase.getAuthenticator()
Gets the authenticator that has been set (if any)
|
Modifier and Type | Method and Description |
---|---|
void |
UpdateProcessRemoteBase.setAuthenticator(HttpAuthenticator authenticator)
Sets the authenticator to use
|
Constructor and Description |
---|
UpdateProcessRemote(UpdateRequest request,
String endpoint,
Context context,
HttpAuthenticator authenticator)
Creates a new remote update processor that uses the application/sparql-update submission method
|
UpdateProcessRemoteForm(UpdateRequest request,
String endpoint,
Context context,
HttpAuthenticator authenticator)
Creates a new remote update processor that uses the form URL encoded
submission method
|
Modifier and Type | Method and Description |
---|---|
static UpdateProcessor |
UpdateExecutionFactory.createRemote(UpdateRequest updateRequest,
String remoteEndpoint,
Context context,
HttpAuthenticator authenticator)
Create an UpdateProcessor that send the update request to a remote SPARQL Update service.
|
static UpdateProcessor |
UpdateExecutionFactory.createRemote(UpdateRequest updateRequest,
String remoteEndpoint,
HttpAuthenticator authenticator)
Create an UpdateProcessor that send the update request to a remote SPARQL Update service.
|
static UpdateProcessor |
UpdateExecutionFactory.createRemote(Update update,
String remoteEndpoint,
Context context,
HttpAuthenticator authenticator)
Create an UpdateProcessor that send the update to a remote SPARQL Update service.
|
static UpdateProcessor |
UpdateExecutionFactory.createRemote(Update update,
String remoteEndpoint,
HttpAuthenticator authenticator)
Create an UpdateProcessor that send the update to a remote SPARQL Update service.
|
static UpdateProcessor |
UpdateExecutionFactory.createRemoteForm(UpdateRequest updateRequest,
String remoteEndpoint,
Context context,
HttpAuthenticator authenticator)
Create an UpdateProcessor that send the update request to a remote SPARQL Update service using an HTML form
|
static UpdateProcessor |
UpdateExecutionFactory.createRemoteForm(UpdateRequest updateRequest,
String remoteEndpoint,
HttpAuthenticator authenticator)
Create an UpdateProcessor that send the update request to a remote SPARQL Update service using an HTML form
|
static UpdateProcessor |
UpdateExecutionFactory.createRemoteForm(Update update,
String remoteEndpoint,
Context context,
HttpAuthenticator authenticator)
Create an UpdateProcessor that send the update request to a remote SPARQL Update service using an HTML form
|
static UpdateProcessor |
UpdateExecutionFactory.createRemoteForm(Update update,
String remoteEndpoint,
HttpAuthenticator authenticator)
Create an UpdateProcessor that send the update request to a remote SPARQL Update service using an HTML form
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCredentialsAuthenticator
Abstract authenticator that uses user name and password credentials
|
class |
AbstractScopedAuthenticator<T>
An abstract helper for authenticators which scope credentials to URIs
|
class |
DelegatingAuthenticator
A scoped authenticator which is actually a wrapper around other
authenticators and thus can be used to mix and match different authentication
mechanisms to different services as desired
|
class |
FormsAuthenticator
An authenticator capable of making Form based logins and using cookies to
maintain authentication state.
|
class |
PreemptiveBasicAuthenticator
A decorator for other authenticators that may be used to enable preemptive
basic authentication.
|
class |
ScopedAuthenticator
A credentials based authenticator where credentials are scoped to URIs.
|
class |
ServiceAuthenticator
A HTTP authenticator which selects credentials based upon service context
found in the provided
Context . |
class |
SimpleAuthenticator
A HTTP Authenticator which provides authentication via user name and password
combinations, can in principal be used to authenticate with any of the HTTP
authentication schemes that HTTP Client supports
|
Constructor and Description |
---|
DelegatingAuthenticator(URI target,
HttpAuthenticator authenticator)
Creates a new delegating authenticator
|
PreemptiveBasicAuthenticator(HttpAuthenticator authenticator)
Creates a new decorator over the given authenticator
|
PreemptiveBasicAuthenticator(HttpAuthenticator authenticator,
boolean forProxy)
Creates a new decorator over the given authenticator
|
Constructor and Description |
---|
DelegatingAuthenticator(Map<URI,HttpAuthenticator> authenticators)
Creates a new delegating authenticator
|
Modifier and Type | Method and Description |
---|---|
static HttpAuthenticator |
HttpOp.getDefaultAuthenticator()
Gets the default authenticator used for authenticate requests if no
specific authenticator is provided.
|
Modifier and Type | Method and Description |
---|---|
static void |
HttpOp.applyAuthentication(org.apache.http.impl.client.AbstractHttpClient client,
String target,
org.apache.http.protocol.HttpContext context,
HttpAuthenticator authenticator)
Applies authentication to the given client as appropriate
|
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 TypedInputStream |
HttpOp.execHttpGet(String url,
String acceptHeader,
org.apache.http.client.HttpClient httpClient,
org.apache.http.protocol.HttpContext httpContext,
HttpAuthenticator authenticator)
Executes a HTTP GET and returns a TypedInputStream
|
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,
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,
org.apache.http.client.HttpClient httpClient,
org.apache.http.protocol.HttpContext httpContext,
HttpAuthenticator authenticator)
POST with response body.
|
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,
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,
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.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 acceptHeader,
HttpResponseHandler handler,
org.apache.http.client.HttpClient httpClient,
org.apache.http.protocol.HttpContext httpContext,
HttpAuthenticator authenticator)
Executes a HTTP POST form operation
|
static TypedInputStream |
HttpOp.execHttpPostFormStream(String url,
Params params,
String acceptHeader,
org.apache.http.client.HttpClient httpClient,
org.apache.http.protocol.HttpContext httpContext,
HttpAuthenticator authenticator)
Executes a HTTP POST Form and returns a TypedInputStream
|
static void |
HttpOp.execHttpPut(String url,
org.apache.http.HttpEntity entity,
org.apache.http.client.HttpClient httpClient,
org.apache.http.protocol.HttpContext httpContext,
HttpAuthenticator authenticator)
Executes a HTTP PUT operation
|
static void |
HttpOp.execHttpPut(String url,
String contentType,
InputStream input,
long length,
org.apache.http.client.HttpClient httpClient,
org.apache.http.protocol.HttpContext httpContext,
HttpAuthenticator authenticator)
Executes a HTTP PUT operation
|
static void |
HttpOp.execHttpPut(String url,
String contentType,
String content,
org.apache.http.client.HttpClient httpClient,
org.apache.http.protocol.HttpContext httpContext,
HttpAuthenticator authenticator)
Executes a HTTP PUT operation
|
static void |
HttpOp.setDefaultAuthenticator(HttpAuthenticator authenticator)
Sets the default authenticator used for authenticate requests if no
specific authenticator is provided.
|
Modifier and Type | Method and Description |
---|---|
void |
DatasetGraphAccessorHTTP.setAuthenticator(HttpAuthenticator authenticator)
Sets an authenticator to use for authentication to the remote URL
|
Constructor and Description |
---|
DatasetGraphAccessorHTTP(String remote,
HttpAuthenticator authenticator)
Create a DatasetUpdater for the remote URL
|
Licenced under the Apache License, Version 2.0