Class ClientContentEncodingAnnotationFilter
java.lang.Object
org.jboss.resteasy.plugins.interceptors.ClientContentEncodingAnnotationFilter
- All Implemented Interfaces:
WriterInterceptor
@ConstrainedTo(CLIENT)
@Priority(3000)
public class ClientContentEncodingAnnotationFilter
extends Object
implements WriterInterceptor
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
encoding
-
-
Constructor Details
-
ClientContentEncodingAnnotationFilter
-
-
Method Details
-
aroundWriteTo
public void aroundWriteTo(WriterInterceptorContext context) throws IOException, WebApplicationException Description copied from interface:WriterInterceptorInterceptor method wrapping calls toMessageBodyWriter.writeTo(T, java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], jakarta.ws.rs.core.MediaType, jakarta.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.Object>, java.io.OutputStream)method. The parameters of the wrapped method called are available fromcontext. Implementations of this method SHOULD explicitly callWriterInterceptorContext.proceed()to invoke the next interceptor in the chain, and ultimately the wrappedMessageBodyWriter.writeTomethod.- Specified by:
aroundWriteToin interfaceWriterInterceptor- Parameters:
context- invocation context.- Throws:
IOException- if an IO error arises or is thrown by the wrappedMessageBodyWriter.writeTomethod.WebApplicationException- thrown by the wrappedMessageBodyWriter.writeTomethod.
-