Class ServerContentEncodingAnnotationFilter
- java.lang.Object
-
- org.jboss.resteasy.plugins.interceptors.ServerContentEncodingAnnotationFilter
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.WriterInterceptor,AsyncWriterInterceptor
@ConstrainedTo(SERVER) @Priority(3000) public class ServerContentEncodingAnnotationFilter extends Object implements AsyncWriterInterceptor
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected HttpRequestrequest
-
Constructor Summary
Constructors Constructor Description ServerContentEncodingAnnotationFilter(Set<String> encodings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaroundWriteTo(jakarta.ws.rs.ext.WriterInterceptorContext context)CompletionStage<Void>asyncAroundWriteTo(AsyncWriterInterceptorContext context)
-
-
-
Field Detail
-
request
@Context protected HttpRequest request
-
-
Method Detail
-
aroundWriteTo
public void aroundWriteTo(jakarta.ws.rs.ext.WriterInterceptorContext context) throws IOException, jakarta.ws.rs.WebApplicationException- Specified by:
aroundWriteToin interfacejakarta.ws.rs.ext.WriterInterceptor- Throws:
IOExceptionjakarta.ws.rs.WebApplicationException
-
asyncAroundWriteTo
public CompletionStage<Void> asyncAroundWriteTo(AsyncWriterInterceptorContext context)
- Specified by:
asyncAroundWriteToin interfaceAsyncWriterInterceptor
-
-