Package org.apache.jena.sparql.modify
Class UpdateProcessRemoteForm
- java.lang.Object
-
- org.apache.jena.sparql.modify.UpdateProcessRemoteBase
-
- org.apache.jena.sparql.modify.UpdateProcessRemoteForm
-
- All Implemented Interfaces:
UpdateProcessor
public class UpdateProcessRemoteForm extends UpdateProcessRemoteBase
UpdateProcess that send the request to a SPARQL endpoint by using an HTML form and POST Use of application/sparql-update via @link{UpdateProcessRemote} is preferred.
-
-
Field Summary
-
Fields inherited from class org.apache.jena.sparql.modify.UpdateProcessRemoteBase
HTTP_CONTEXT
-
-
Constructor Summary
Constructors Constructor Description UpdateProcessRemoteForm(UpdateRequest request, java.lang.String endpoint, Context context)Creates a new remote update processor that uses the form URL encoded submission methodUpdateProcessRemoteForm(UpdateRequest request, java.lang.String endpoint, Context context, org.apache.http.client.HttpClient client, org.apache.http.protocol.HttpContext httpContext)Creates a new remote update processor that uses the form URL encoded submission method
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()Execute-
Methods inherited from class org.apache.jena.sparql.modify.UpdateProcessRemoteBase
addDefaultGraph, addNamedGraph, addParam, getClient, getContext, getDatasetGraph, getEndpoint, getHttpContext, getParams, getUpdateRequest, getUpdateString, setClient, setDefaultGraphs, setHttpContext, setNamedGraphs
-
-
-
-
Constructor Detail
-
UpdateProcessRemoteForm
public UpdateProcessRemoteForm(UpdateRequest request, java.lang.String endpoint, Context context)
Creates a new remote update processor that uses the form URL encoded submission method- Parameters:
request- Update requestendpoint- Update endpointcontext- Context
-
UpdateProcessRemoteForm
public UpdateProcessRemoteForm(UpdateRequest request, java.lang.String endpoint, Context context, org.apache.http.client.HttpClient client, org.apache.http.protocol.HttpContext httpContext)
Creates a new remote update processor that uses the form URL encoded submission method- Parameters:
request- Update requestendpoint- Update endpointcontext- Contextclient- HTTP ClienthttpContext- HTTP Context
-
-
Method Detail
-
execute
public void execute()
Description copied from interface:UpdateProcessorExecute
-
-