com.atlassian.crowd.console.filter
Class CrowdGzipFilterIntegration

java.lang.Object
  extended by com.atlassian.crowd.console.filter.CrowdGzipFilterIntegration
All Implemented Interfaces:
com.atlassian.gzipfilter.integration.GzipFilterIntegration

public class CrowdGzipFilterIntegration
extends java.lang.Object
implements com.atlassian.gzipfilter.integration.GzipFilterIntegration


Constructor Summary
CrowdGzipFilterIntegration()
           
 
Method Summary
 java.lang.String getResponseEncoding(javax.servlet.http.HttpServletRequest request)
          What response encoding to use.
 void setPropertyManager(PropertyManager propertyManager)
           
 boolean useGzip()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrowdGzipFilterIntegration

public CrowdGzipFilterIntegration()
Method Detail

useGzip

public boolean useGzip()
Specified by:
useGzip in interface com.atlassian.gzipfilter.integration.GzipFilterIntegration
Returns:
Whether this application has gzip enabled or not

getResponseEncoding

public java.lang.String getResponseEncoding(javax.servlet.http.HttpServletRequest request)
What response encoding to use. This is primarily used when handling the parsing of writers to streams and vice-versa. Usually this is UTF-8, but depending on your application this may be different.

Specified by:
getResponseEncoding in interface com.atlassian.gzipfilter.integration.GzipFilterIntegration
Parameters:
request - If you wish to parse the request for the request encoding
Returns:
An encoding supported by java

setPropertyManager

public void setPropertyManager(PropertyManager propertyManager)


Copyright © 2010 Atlassian. All Rights Reserved.