public class ContentEncodingRepository extends Object
Constructor and Description |
---|
ContentEncodingRepository() |
Modifier and Type | Method and Description |
---|---|
ContentEncodingRepository |
addEncodingHandler(String encoding,
ContentEncodingProvider encoder,
int priority) |
ContentEncodingRepository |
addEncodingHandler(String encoding,
ContentEncodingProvider encoder,
int priority,
Predicate enabledPredicate) |
AllowedContentEncodings |
getContentEncodings(HttpServerExchange exchange)
Gets all allow
|
ContentEncodingRepository |
removeEncodingHandler(String encoding) |
public static final String IDENTITY
public AllowedContentEncodings getContentEncodings(HttpServerExchange exchange)
exchange
- public ContentEncodingRepository addEncodingHandler(String encoding, ContentEncodingProvider encoder, int priority)
public ContentEncodingRepository addEncodingHandler(String encoding, ContentEncodingProvider encoder, int priority, Predicate enabledPredicate)
public ContentEncodingRepository removeEncodingHandler(String encoding)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.