Package com.blackrook.small.jetty
Interface SmallJettyConfiguration.GZipConfiguration
- All Known Implementing Classes:
DefaultSmallJettyConfiguration.GZipConfigurationBuilder
- Enclosing interface:
- SmallJettyConfiguration
public static interface SmallJettyConfiguration.GZipConfiguration
Configuration for GZipping client content.
- Since:
- 1.5.3
-
Method Summary
Modifier and Type Method Description intgetBufferSize()intgetCompressionLevel()String[]getExcludedAgentPatterns()String[]getExcludedHTTPMethods()String[]getExcludedMimeTypes()String[]getExcludedPaths()String[]getIncludedAgentPatterns()String[]getIncludedHTTPMethods()String[]getIncludedMimeTypes()String[]getIncludedPaths()intgetMinGzipSize()
-
Method Details
-
getBufferSize
int getBufferSize()- Returns:
- the GZip buffer size in bytes.
-
getCompressionLevel
int getCompressionLevel()- Returns:
- the GZip compression level.
-
getMinGzipSize
int getMinGzipSize()- Returns:
- the minimum size in bytes that a response needs to be before compression is considered.
-
getExcludedAgentPatterns
String[] getExcludedAgentPatterns()- Returns:
- the list of incoming agent patterns excluded from compression.
-
getExcludedHTTPMethods
String[] getExcludedHTTPMethods()- Returns:
- the list of HTTP methods excluded from compression.
-
getExcludedMimeTypes
String[] getExcludedMimeTypes()- Returns:
- the list of MIME-Types excluded from compression.
-
getExcludedPaths
String[] getExcludedPaths()- Returns:
- the list of excluded URI path patterns from compression.
-
getIncludedAgentPatterns
String[] getIncludedAgentPatterns()- Returns:
- the list of incoming agent patterns included from compression.
-
getIncludedHTTPMethods
String[] getIncludedHTTPMethods()- Returns:
- the list of HTTP methods included from compression.
-
getIncludedMimeTypes
String[] getIncludedMimeTypes()- Returns:
- the list of MIME-Types included from compression.
-
getIncludedPaths
String[] getIncludedPaths()- Returns:
- the list of included URI path patterns from compression.
-