public class AuthenticatedEcho extends Echo
Destroyable.Util
DUMB, logger
Constructor and Description |
---|
AuthenticatedEcho(java.lang.String msg) |
AuthenticatedEcho(java.lang.String msg,
java.lang.String contentType) |
Modifier and Type | Method and Description |
---|---|
void |
prepareAuthentication(ActionContext context)
Setting up handler for authentication.
|
boolean |
sessionFree()
Returns if the handler is session free or not.
|
handle, readContent, toString
csrfSpec, requireResolveContext
apply, corsSpec, destroy, express, isDestroyed, noContextResoving, realHandler, releaseResources, scope, setExpress, setSessionFree, supportPartialPath, wrap
public AuthenticatedEcho(java.lang.String msg)
public AuthenticatedEcho(java.lang.String msg, java.lang.String contentType)
public boolean sessionFree()
RequestHandler
Returns if the handler is session free or not. If a handler is session free then the framework will NOT resolve session
sessionFree
in interface RequestHandler
sessionFree
in class FastRequestHandler
true
if the handler is session freepublic void prepareAuthentication(ActionContext context)
RequestHandler
Setting up handler for authentication. For example, initialize the missing authentication handler, csrf failure handler.
prepareAuthentication
in interface RequestHandler
prepareAuthentication
in class FastRequestHandler
context
- the current action contextCopyright © 2014–2017 ActFramework. All rights reserved.