Package io.dropwizard.jersey.errors
Class EofExceptionWriterInterceptor
- java.lang.Object
-
- io.dropwizard.jersey.errors.EofExceptionWriterInterceptor
-
- All Implemented Interfaces:
javax.ws.rs.ext.WriterInterceptor
@Provider @Priority(2147483647) public class EofExceptionWriterInterceptor extends Object implements javax.ws.rs.ext.WriterInterceptor
AWriterInterceptorto swallowEofExceptionwhich occurs when a client disconnects before the complete response could be sent.- See Also:
EarlyEofExceptionMapper,EofException
-
-
Constructor Summary
Constructors Constructor Description EofExceptionWriterInterceptor(com.codahale.metrics.MetricRegistry metricRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context)
-
-
-
Method Detail
-
aroundWriteTo
public void aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context) throws IOException, javax.ws.rs.WebApplicationException- Specified by:
aroundWriteToin interfacejavax.ws.rs.ext.WriterInterceptor- Throws:
IOExceptionjavax.ws.rs.WebApplicationException
-
-