org.slim3.commons.web
Class S3Filter

java.lang.Object
  extended by org.slim3.commons.web.S3Filter
All Implemented Interfaces:
Filter

public class S3Filter
extends Object
implements Filter

Filter for Slim3.

Since:
3.0
Author:
higa

Field Summary
protected static String DEFAULT_ENCODING
          The default encoding
protected  String encoding
          The encoding.
static String ENCODING_KEY
          The encoding key.
protected static String HOT_CLASS_LOADER_KEY
          The hot class loader key.
 
Constructor Summary
S3Filter()
          Constructor.
 
Method Summary
 void destroy()
           
protected  void doFilter(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
          Executes filtering process.
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
 void init(FilterConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENCODING_KEY

public static final String ENCODING_KEY
The encoding key.

See Also:
Constant Field Values

DEFAULT_ENCODING

protected static final String DEFAULT_ENCODING
The default encoding

See Also:
Constant Field Values

HOT_CLASS_LOADER_KEY

protected static final String HOT_CLASS_LOADER_KEY
The hot class loader key.


encoding

protected String encoding
The encoding.

Constructor Detail

S3Filter

public S3Filter()
Constructor.

Method Detail

init

public void init(FilterConfig config)
          throws ServletException
Specified by:
init in interface Filter
Throws:
ServletException

destroy

public void destroy()
Specified by:
destroy in interface Filter

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws IOException,
                     ServletException
Specified by:
doFilter in interface Filter
Throws:
IOException
ServletException

doFilter

protected void doFilter(HttpServletRequest request,
                        HttpServletResponse response,
                        FilterChain chain)
                 throws IOException,
                        ServletException
Executes filtering process.

Parameters:
request - the request
response - the response
chain - the filter chain
Throws:
IOException - if IOException is encountered
ServletException - if ServletException is encountered


Copyright © 2008-2009 The Slim3 project. All Rights Reserved.