public class UnknownHttpMethodHandler extends FastRequestHandler implements java.io.Serializable
Destroyable.Util
Modifier and Type | Field and Description |
---|---|
static UnknownHttpMethodHandler |
INSTANCE |
DUMB
Constructor and Description |
---|
UnknownHttpMethodHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
express(ActionContext context)
Indicate the handler logic is fast enough to be put into network layer’s io thread and does not require to dispatch to worker thread.
|
void |
handle(ActionContext context)
Invoke handler upon an action context
|
csrfSpec, prepareAuthentication, requireResolveContext, sessionFree
apply, corsSpec, destroy, isDestroyed, noContextResoving, realHandler, releaseResources, scope, setExpress, setSessionFree, supportPartialPath, wrap
public static final UnknownHttpMethodHandler INSTANCE
public void handle(ActionContext context)
RequestHandler
Invoke handler upon an action context
handle
in interface RequestHandler
context
- the context datapublic boolean express(ActionContext context)
RequestHandler
Indicate the handler logic is fast enough to be put into network layer’s io thread and does not require to dispatch to worker thread.
Note a handler that implements ExpressHandler
should always return true
for this method
express
in interface RequestHandler
express
in class RequestHandlerBase
context
- the action contexttrue
if this handler support direct io thread processingCopyright © 2014–2017 ActFramework. All rights reserved.