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, sessionFreeapply, corsSpec, destroy, isDestroyed, noContextResoving, realHandler, releaseResources, scope, setExpress, setSessionFree, supportPartialPath, wrappublic static final UnknownHttpMethodHandler INSTANCE
public void handle(ActionContext context)
RequestHandlerInvoke handler upon an action context
handle in interface RequestHandlercontext - the context datapublic boolean express(ActionContext context)
RequestHandlerIndicate 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 RequestHandlerexpress in class RequestHandlerBasecontext - the action contexttrue if this handler support direct io thread processingCopyright © 2014–2017 ActFramework. All rights reserved.