|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.grizzly.http.CompressionFiltersProvider
public class CompressionFiltersProvider
Provider, which is responsible for collecting compression filters.
Method Summary | |
---|---|
FilterFactory |
getFilterFactory(String encoding)
Get FilterFactory , which supports passed encoding,
or null, if encoding is not supported by any registered filter factory. |
Collection<FilterFactory> |
getFilters()
Get collection of registered compression FilterFactory s. |
FilterFactory |
getOutputFilter(MessageBytes encoding)
Get FilterFactory , which supports passed encoding,
or null, if encoding is not supported by any registered filter factory. |
static CompressionFiltersProvider |
provider()
Get CompressionFiltersProvider instance. |
void |
registerOutputFilter(FilterFactory filterFactory)
Register compression FilterFactory . |
boolean |
supportsOutput(MessageBytes encoding)
Returns true, if there is registered OutputFilter , which
support passed encoding, or false, if encoding is not supported
by any registered filter. |
boolean |
supportsOutput(String encoding)
Returns true, if there is registered OutputFilter , which
support passed encoding, or false, if encoding is not supported
by any registered filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static CompressionFiltersProvider provider()
public void registerOutputFilter(FilterFactory filterFactory)
FilterFactory
.
filterFactory
- FilterFactory
.public Collection<FilterFactory> getFilters()
FilterFactory
s.
FilterFactory
s.public boolean supportsOutput(String encoding)
OutputFilter
, which
support passed encoding, or false, if encoding is not supported
by any registered filter.
encoding
-
OutputFilter
, which
support passed encoding, or false, if encoding is not supported
by any registered filter.public boolean supportsOutput(MessageBytes encoding)
OutputFilter
, which
support passed encoding, or false, if encoding is not supported
by any registered filter.
encoding
-
OutputFilter
, which
support passed encoding, or false, if encoding is not supported
by any registered filter.public FilterFactory getFilterFactory(String encoding)
FilterFactory
, which supports passed encoding,
or null, if encoding is not supported by any registered filter factory.
encoding
-
FilterFactory
, which supports passed encoding,
or null, if encoding is not supported by any registered filter factory.public FilterFactory getOutputFilter(MessageBytes encoding)
FilterFactory
, which supports passed encoding,
or null, if encoding is not supported by any registered filter factory.
encoding
-
FilterFactory
, which supports passed encoding,
or null, if encoding is not supported by any registered filter factory.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |