org.opengts.war.track
Class CharacterEncodingFilter

java.lang.Object
  extended by org.opengts.war.track.CharacterEncodingFilter
All Implemented Interfaces:
javax.servlet.Filter

public class CharacterEncodingFilter
extends java.lang.Object
implements javax.servlet.Filter


Constructor Summary
CharacterEncodingFilter()
           
 
Method Summary
 void destroy()
          Destroys filter
 void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain next)
          Allows this filter to set attributes
 void init(javax.servlet.FilterConfig filterConfig)
          Initializes filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharacterEncodingFilter

public CharacterEncodingFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig filterConfig)
Initializes filter

Specified by:
init in interface javax.servlet.Filter
Parameters:
filterConfig - The FilterConfig

doFilter

public void doFilter(javax.servlet.ServletRequest req,
                     javax.servlet.ServletResponse res,
                     javax.servlet.FilterChain next)
              throws java.io.IOException,
                     javax.servlet.ServletException
Allows this filter to set attributes

Specified by:
doFilter in interface javax.servlet.Filter
Parameters:
req - The ServletRequest
res - The ServletResponse
next - The next filter in the chain
Throws:
java.io.IOException
javax.servlet.ServletException

destroy

public void destroy()
Destroys filter

Specified by:
destroy in interface javax.servlet.Filter