@ConstrainedTo(value=SERVER) public class ServerContentEncodingAnnotationFeature extends Object implements javax.ws.rs.container.DynamicFeature
Constructor and Description |
---|
ServerContentEncodingAnnotationFeature() |
Modifier and Type | Method and Description |
---|---|
void |
configure(javax.ws.rs.container.ResourceInfo resourceInfo,
javax.ws.rs.core.FeatureContext configurable) |
protected ServerContentEncodingAnnotationFilter |
createFilter(Set<String> encodings) |
protected Set<String> |
getEncodings(Annotation[] annotations) |
protected boolean |
isGZipRegistered(javax.ws.rs.core.Configuration configuration) |
public ServerContentEncodingAnnotationFeature()
public void configure(javax.ws.rs.container.ResourceInfo resourceInfo, javax.ws.rs.core.FeatureContext configurable)
configure
in interface javax.ws.rs.container.DynamicFeature
protected boolean isGZipRegistered(javax.ws.rs.core.Configuration configuration)
protected ServerContentEncodingAnnotationFilter createFilter(Set<String> encodings)
protected Set<String> getEncodings(Annotation[] annotations)
Copyright © 2020 JBoss by Red Hat. All rights reserved.