public abstract class AbstractCheckInterceptor
extends com.opensymphony.xwork2.interceptor.AbstractInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected String |
redirectAction
Where to redirect where user is loggued
|
| Constructor and Description |
|---|
AbstractCheckInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
doCheck(com.opensymphony.xwork2.ActionInvocation invocation) |
protected String |
getRedirectUrl() |
String |
intercept(com.opensymphony.xwork2.ActionInvocation invocation) |
protected void |
redirect(String url) |
void |
setRedirectAction(String redirectAction) |
protected String redirectAction
public void setRedirectAction(String redirectAction)
protected abstract boolean doCheck(com.opensymphony.xwork2.ActionInvocation invocation)
public String intercept(com.opensymphony.xwork2.ActionInvocation invocation) throws Exception
intercept in interface com.opensymphony.xwork2.interceptor.Interceptorintercept in class com.opensymphony.xwork2.interceptor.AbstractInterceptorExceptionprotected String getRedirectUrl()
Copyright © 2011–2015 Ifremer. All rights reserved.