当前页面:
在线文档首页 >
JBoss Seam 1.2.0 patch1 API 英文版文档
CharacterEncodingFilter (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档
org.jboss.seam.web
Class CharacterEncodingFilter
java.lang.Object
org.jboss.seam.web.AbstractFilter
org.jboss.seam.web.CharacterEncodingFilter
- All Implemented Interfaces:
- javax.servlet.Filter
- Direct Known Subclasses:
- SeamCharacterEncodingFilter
@Startup
@Scope(value=APPLICATION)
@Name(value="org.jboss.seam.servlet.characterEncodingFilter")
@Install(value=false,
precedence=0)
@Intercept(value=NEVER)
public class CharacterEncodingFilter
- extends AbstractFilter
A servlet filter that lets you set the character encoding of
submitted data. There are two init parameters: "encoding" and
"overrideClient".
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CharacterEncodingFilter
public CharacterEncodingFilter()
doFilter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain filterChain)
throws javax.servlet.ServletException,
IOException
- Throws:
javax.servlet.ServletException
IOException
getEncoding
public String getEncoding()
setEncoding
public void setEncoding(String encoding)
getOverrideClient
public boolean getOverrideClient()
setOverrideClient
public void setOverrideClient(boolean overrideClient)