org.norther.tammi.spray.engine
Class RedirectionExceptionFilter
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.norther.tammi.core.base.LogException
org.norther.tammi.spray.filter.DefaultExceptionFilter
org.norther.tammi.spray.terminal.TerminalExceptionFilter
org.norther.tammi.spray.engine.DefaultTemplateExceptionFilter
org.norther.tammi.spray.engine.RedirectionExceptionFilter
- All Implemented Interfaces:
- Serializable, Filter, Manageable, TemplateExceptionFilter, ExceptionFilter, TerminationFilter
public class RedirectionExceptionFilter
- extends DefaultTemplateExceptionFilter
An exception for redirection handling filters.
- Version:
- $Id: RedirectionExceptionFilter.java,v 1.8 2009/09/28 15:08:27
cvsimp Exp $
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
Methods inherited from class org.norther.tammi.spray.filter.DefaultExceptionFilter |
commitMessage, destroy, doFilter, getMBeanServer, getObjectName, getStatusCode, init, isRegistered, postmanaged, premanaged, unmanaged |
RedirectionExceptionFilter
public RedirectionExceptionFilter(int code,
Cookie... cs)
- Constucts a new local redirection.
- Parameters:
code
- the redirection code.cs
- the redirection cookies.
RedirectionExceptionFilter
public RedirectionExceptionFilter(int code,
String location,
Cookie... cs)
- Constucts a new redirection.
- Parameters:
code
- the redirection code.location
- the new location.cs
- the redirection cookies.
RedirectionExceptionFilter
public RedirectionExceptionFilter(String template,
int code,
String location,
Cookie... cs)
- Constucts a new redirection with a template.
- Parameters:
template
- the actual template.code
- the redirection code.location
- the new location.cs
- the redirection cookies.
commitMessage
protected void commitMessage(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws IOException
- Description copied from class:
DefaultExceptionFilter
- Commits a message.
- Overrides:
commitMessage
in class DefaultTemplateExceptionFilter
- Parameters:
request
- the request.response
- the response.chain
- the filter chain.
- Throws:
IOException
- on I/O errors.
Copyright © 2004 The Norther Organization. All rights reserved.