Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

    @Scope(value=APPLICATION)
    @Name(value="org.jboss.seam.servlet.characterEncodingFilter")
    @Install(value=false,
             precedence=0)
    @BypassInterceptors
    @Filter(within="org.jboss.seam.web.ajax4jsfFilter")
    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

Constructor Summary
`CharacterEncodingFilter()`

Method Summary
`void` | `doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain)`
`String` | `getEncoding()`
`boolean` | `getOverrideClient()`
`void` | `setEncoding(String encoding)`
`void` | `setOverrideClient(boolean overrideClient)`

Methods inherited from class org.jboss.seam.web.AbstractFilter
`destroy, getRegexUrlPattern, getServletContext, getUrlPattern, init, isDisabled, isMappedToCurrentRequestPath, setDisabled, setRegexUrlPattern, setUrlPattern`

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

### 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Seam Framework. All Rights Reserved.