java.lang.Object
org.apache.jena.fuseki.servlets.ActionBase
- All Implemented Interfaces:
ActionLifecycle
,ActionProcessor
- Direct Known Subclasses:
ActionService
Base of all implementations of service
HttpAction
. This class provides the
two steps execution of "validate" and "perform".
Subclasses choose which HTTP
methods they handle by implementing "execGet(HttpAction)" etc. These often call
executeLifecycle(org.apache.jena.fuseki.servlets.HttpAction)
for their normal HttpAction
lifecycle, for example,
when GET and POST do the same steps so common "validate" and "execute".
See ActionExecLib.execAction(org.apache.jena.fuseki.servlets.HttpAction, org.apache.jena.fuseki.servlets.ActionProcessor)
for the common ActionProcessor execution with logging and error handling.
This is used by Dispatcher.dispatchAction(HttpAction)
.
See ActionService
which overrides executeLifecycle(org.apache.jena.fuseki.servlets.HttpAction)
to add statistics counters.
Some operations like OPTIONS will implement differently.
public void execGet(HttpAction action) { super.executeLifecycle(action); }
-
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(HttpAction action) Subclasses must overrideexecGet
,execPost
etc to say which methods they support.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.fuseki.servlets.ActionLifecycle
execute, validate
Methods inherited from interface org.apache.jena.fuseki.servlets.ActionProcessor
execAny, execDelete, execGet, execHead, execOptions, execPatch, execPost, execPut, execTrace
-
Method Details
-
process
Subclasses must overrideexecGet
,execPost
etc to say which methods they support. Typically, the implementation is a call toexecuteLifecycle(action)
.- Specified by:
process
in interfaceActionProcessor
- Parameters:
action
- HTTP Action
-