Package org.apache.solr.jersey
Class MediaTypeOverridingFilter
- java.lang.Object
-
- org.apache.solr.jersey.MediaTypeOverridingFilter
-
- All Implemented Interfaces:
javax.ws.rs.container.ContainerResponseFilter
public class MediaTypeOverridingFilter extends Object implements javax.ws.rs.container.ContainerResponseFilter
Overrides the content-type of the response based on an optional user-provided 'wt' parameter
-
-
Constructor Summary
Constructors Constructor Description MediaTypeOverridingFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
filter(javax.ws.rs.container.ContainerRequestContext requestContext, javax.ws.rs.container.ContainerResponseContext responseContext)
-
-
-
Method Detail
-
filter
public void filter(javax.ws.rs.container.ContainerRequestContext requestContext, javax.ws.rs.container.ContainerResponseContext responseContext) throws IOException
- Specified by:
filter
in interfacejavax.ws.rs.container.ContainerResponseFilter
- Throws:
IOException
-
-