R
- The Result
type.public class UnsecuredActionImpl<R extends Result> extends Object implements Action<R>
Action
.
An Action
that uses the standard service name "dispatch"
. Actions inheriting from this are not
secured against XSRF attacks, and they will work even if you do not configure a
SecurityCookie
.
Use ActionImpl
for secured set to on by default.DEFAULT_SERVICE_NAME
Constructor and Description |
---|
UnsecuredActionImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getServiceName()
Default Action using the base path as dispatch/className.
|
boolean |
isSecured()
Secure is off by default.
|
public String getServiceName()
getServiceName
in interface Action<R extends Result>
public boolean isSecured()
isSecured
in interface HasSecured
true
if the action should be secured against XSRF attacks, false
otherwise.Copyright © 2010–2014 Arcbees. All rights reserved.