com.atlassian.crowd.console.filter
Class CrowdEncodingFilter

java.lang.Object
  extended by com.atlassian.core.filters.AbstractHttpFilter
      extended by com.atlassian.core.filters.encoding.AbstractEncodingFilter
          extended by com.atlassian.crowd.console.filter.CrowdEncodingFilter
All Implemented Interfaces:
javax.servlet.Filter

public class CrowdEncodingFilter
extends com.atlassian.core.filters.encoding.AbstractEncodingFilter

Sets the character encoding of anything posted/get to an HTTP request.


Constructor Summary
CrowdEncodingFilter()
           
 
Method Summary
protected  String getContentType()
          Gest the Crowd default page content type.
protected  String getEncoding()
          Gets the Crowd encoding type.
 
Methods inherited from class com.atlassian.core.filters.encoding.AbstractEncodingFilter
doFilter
 
Methods inherited from class com.atlassian.core.filters.AbstractHttpFilter
destroy, doFilter, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrowdEncodingFilter

public CrowdEncodingFilter()
Method Detail

getEncoding

protected String getEncoding()
Gets the Crowd encoding type.

Specified by:
getEncoding in class com.atlassian.core.filters.encoding.AbstractEncodingFilter
Returns:
The default character encoding type.
See Also:
CrowdConstants.DEFAULT_CHARACTER_ENCODING

getContentType

protected String getContentType()
Gest the Crowd default page content type.

Specified by:
getContentType in class com.atlassian.core.filters.encoding.AbstractEncodingFilter
Returns:
The default content type.
See Also:
CrowdConstants.DEFAULT_CONTENT_TYPE


Copyright © 2013 Atlassian. All Rights Reserved.