java.lang.Object
org.apache.jena.sparql.exec.http.UpdateExecHTTP
- All Implemented Interfaces:
UpdateExec,UpdateProcessor
-
Method Summary
Modifier and TypeMethodDescriptionvoidabort()Best effort that tries to close an underlying HTTP connection.voidexecute()ExecuteReturns the processor's context.The update request associated with this update execution.The update request as a string.static UpdateExecHTTPBuilderstatic UpdateExecHTTPBuilderCreate aUpdateExecBuilderfor a remote endpoint.
-
Method Details
-
newBuilder
-
service
Description copied from interface:UpdateExecCreate aUpdateExecBuilderfor a remote endpoint. -
getContext
Description copied from interface:UpdateProcessorReturns the processor's context. Null if there is none.- Specified by:
getContextin interfaceUpdateProcessor
-
getUpdateRequest
Description copied from interface:UpdateProcessorThe update request associated with this update execution. May be null.- Specified by:
getUpdateRequestin interfaceUpdateProcessor
-
getUpdateRequestString
Description copied from interface:UpdateProcessorThe update request as a string. May be null. The string may contain syntax extensions that can not be parsed by Jena. IfUpdateProcessor.getUpdateRequest()is not null then this is a corresponding string that parses to the same update request.- Specified by:
getUpdateRequestStringin interfaceUpdateProcessor
-
execute
public void execute()Description copied from interface:UpdateExecExecute- Specified by:
executein interfaceUpdateExec- Specified by:
executein interfaceUpdateProcessor
-
abort
public void abort()Best effort that tries to close an underlying HTTP connection. May still hang waiting for the HTTP request to complete.- Specified by:
abortin interfaceUpdateProcessor
-