public class OptionsRequestHandler extends FastRequestHandler implements ExpressHandler
Destroyable.Util
DUMB, logger
Constructor and Description |
---|
OptionsRequestHandler(CORS.Spec corsSpec) |
Modifier and Type | Method and Description |
---|---|
CORS.Spec |
corsSpec()
Get CORS specification that specifically applied to this request handler
|
void |
handle(ActionContext context)
Invoke handler upon an action context
|
contentSecurityPolicy, csrfSpec, disableContentSecurityPolicy, prepareAuthentication, requireResolveContext, sessionFree
apply, destroy, express, isDestroyed, noContextResoving, realHandler, releaseResources, scope, setExpress, setSessionFree, supportPartialPath, wrap
public OptionsRequestHandler(CORS.Spec corsSpec)
public CORS.Spec corsSpec()
RequestHandler
Get CORS specification that specifically applied to this request handler
corsSpec
in interface RequestHandler
corsSpec
in class RequestHandlerBase
public void handle(ActionContext context)
RequestHandler
Invoke handler upon an action context
handle
in interface RequestHandler
context
- the context dataCopyright © 2014–2018 ActFramework. All rights reserved.