com.atlassian.crowd.servlet.filter
Class CrowdEncodingFilter
java.lang.Object
com.atlassian.core.filters.AbstractFilter
com.atlassian.core.filters.AbstractEncodingFilter
com.atlassian.crowd.servlet.filter.CrowdEncodingFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class CrowdEncodingFilter
- extends com.atlassian.core.filters.AbstractEncodingFilter
Sets the character encoding of anything posted/get to an HTTP request.
|
Method Summary |
protected java.lang.String |
getContentType()
Gest the Crowd default page content type. |
protected java.lang.String |
getEncoding()
Gets the Crowd encoding type. |
protected boolean |
isNonCachableUri(javax.servlet.http.HttpServletRequest req)
|
protected void |
setNonCachingHeaders(javax.servlet.http.HttpServletResponse httpServletResponse)
|
| Methods inherited from class com.atlassian.core.filters.AbstractEncodingFilter |
doFilter, init |
| Methods inherited from class com.atlassian.core.filters.AbstractFilter |
destroy, getFilterConfig, setFilterConfig |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrowdEncodingFilter
public CrowdEncodingFilter()
getEncoding
protected java.lang.String getEncoding()
- Gets the Crowd encoding type.
- Specified by:
getEncoding in class com.atlassian.core.filters.AbstractEncodingFilter
- Returns:
- The default character encoding type.
- See Also:
Constants.DEFAULT_CHARACTER_ENCODING
getContentType
protected java.lang.String getContentType()
- Gest the Crowd default page content type.
- Specified by:
getContentType in class com.atlassian.core.filters.AbstractEncodingFilter
- Returns:
- The default content type.
- See Also:
Constants.DEFAULT_CONTENT_TYPE
isNonCachableUri
protected boolean isNonCachableUri(javax.servlet.http.HttpServletRequest req)
- Overrides:
isNonCachableUri in class com.atlassian.core.filters.AbstractEncodingFilter
- See Also:
AbstractEncodingFilter.isNonCachableUri(javax.servlet.http.HttpServletRequest)
setNonCachingHeaders
protected void setNonCachingHeaders(javax.servlet.http.HttpServletResponse httpServletResponse)
- Overrides:
setNonCachingHeaders in class com.atlassian.core.filters.AbstractEncodingFilter
- See Also:
AbstractEncodingFilter.setNonCachingHeaders(javax.servlet.http.HttpServletResponse)
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.