public class ContentEncodingRepository extends Object
Modifier and Type | Field and Description |
---|---|
static String | IDENTITY |
static io.undertow.server.handlers.encoding.EncodingMapping | IDENTITY_ENCODING |
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) |
ContentEncodingRepository | removeEncodingHandler(String encoding) |
public static final String IDENTITY
public static final io.undertow.server.handlers.encoding.EncodingMapping IDENTITY_ENCODING
public AllowedContentEncodings getContentEncodings(HttpServerExchange 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 © 2017 JBoss by Red Hat. All rights reserved.