public final class ActionContext extends Object
Context for the RequiresAuthenticationAction aggregating the Play Http.Context and the RequiresAuthentication annotation.
| Modifier and Type | Method and Description |
|---|---|
static ActionContext |
build(play.mvc.Http.Context ctx,
Object configuration)
Build the action context from the Play
Http.Context and the RequiresAuthentication annotation. |
String |
getClientName() |
play.mvc.Http.Context |
getCtx() |
play.mvc.Http.Request |
getRequest() |
String |
getRequireAllRoles() |
String |
getRequireAnyRole() |
String |
getSessionId() |
String |
getTargetUrl() |
JavaWebContext |
getWebContext() |
boolean |
isAjax() |
boolean |
isStateless() |
public play.mvc.Http.Context getCtx()
public play.mvc.Http.Request getRequest()
public String getSessionId()
public JavaWebContext getWebContext()
public String getClientName()
public String getTargetUrl()
public boolean isAjax()
public boolean isStateless()
public String getRequireAnyRole()
public String getRequireAllRoles()
public static ActionContext build(play.mvc.Http.Context ctx, Object configuration)
Http.Context and the RequiresAuthentication annotation.ctx - configuration - Copyright © 2015. All Rights Reserved.