|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
org.norther.tammi.core.base.LogException
org.norther.tammi.spray.filter.DefaultExceptionFilter
org.norther.tammi.spray.engine.DefaultTemplateExceptionFilter
org.norther.tammi.spray.engine.RedirectionExceptionFilter
public class RedirectionExceptionFilter
An exception for redirected requests.
| Field Summary |
|---|
| Fields inherited from class org.norther.tammi.core.base.LogException |
|---|
DEFAULT, ERROR, FATAL, INFO, NONE, WARN, WARNING |
| Constructor Summary | |
|---|---|
RedirectionExceptionFilter()
Constucts a new local redirection. |
|
RedirectionExceptionFilter(Cookie[] cs)
Constucts a new local redirection with cookies. |
|
RedirectionExceptionFilter(String location)
Constucts a new redirection. |
|
RedirectionExceptionFilter(String location,
Cookie[] cs)
Constucts a new redirection with cookies. |
|
RedirectionExceptionFilter(String template,
String location)
Constucts a new redirection with a template. |
|
RedirectionExceptionFilter(String template,
String location,
Cookie[] cs)
Constucts a new redirection with a template and cookies. |
|
| Method Summary | |
|---|---|
protected void |
prepareCommit(ServletRequest request,
ServletResponse response,
FilterChain chain)
A callback for subclasses to modify the response before committing. |
| Methods inherited from class org.norther.tammi.spray.engine.DefaultTemplateExceptionFilter |
|---|
addDefaultTemplate, getDefaultTemplate, getDefaultTemplate, getErrorTemplate, getMessage, setDefaultTemplate, setErrorTemplate |
| Methods inherited from class org.norther.tammi.spray.filter.DefaultExceptionFilter |
|---|
destroy, doFilter, getMBeanServer, getObjectName, getStatusCode, init, isRegistered, postmanaged, premanaged, unmanaged |
| Methods inherited from class org.norther.tammi.core.base.LogException |
|---|
getArgument, getLevel, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getMessageLog, getTime, setLevel |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.norther.tammi.spray.filter.ExceptionFilter |
|---|
getLocalizedMessage, getMessage, getStatusCode |
| Methods inherited from interface javax.servlet.Filter |
|---|
destroy, doFilter, init |
| Constructor Detail |
|---|
public RedirectionExceptionFilter()
public RedirectionExceptionFilter(Cookie[] cs)
cs - the redirection cookies.public RedirectionExceptionFilter(String location)
location - the new location.
public RedirectionExceptionFilter(String location,
Cookie[] cs)
location - the new location.cs - the redirection cookies.
public RedirectionExceptionFilter(String template,
String location)
template - the actual template.location - the new location.
public RedirectionExceptionFilter(String template,
String location,
Cookie[] cs)
template - the actual template.location - the new location.cs - the redirection cookies.| Method Detail |
|---|
protected void prepareCommit(ServletRequest request,
ServletResponse response,
FilterChain chain)
DefaultExceptionFilter
prepareCommit in class DefaultExceptionFilterrequest - the request.response - the response.chain - the filter chain.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||