Package io.dropwizard.jersey.errors
Class EofExceptionWriterInterceptor
- java.lang.Object
-
- io.dropwizard.jersey.errors.EofExceptionWriterInterceptor
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.WriterInterceptor
@Provider @Priority(2147483647) public class EofExceptionWriterInterceptor extends Object implements jakarta.ws.rs.ext.WriterInterceptor
AWriterInterceptor
to swallowEofException
which 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 void
aroundWriteTo(jakarta.ws.rs.ext.WriterInterceptorContext context)
-
-
-
Method Detail
-
aroundWriteTo
public void aroundWriteTo(jakarta.ws.rs.ext.WriterInterceptorContext context) throws IOException, jakarta.ws.rs.WebApplicationException
- Specified by:
aroundWriteTo
in interfacejakarta.ws.rs.ext.WriterInterceptor
- Throws:
IOException
jakarta.ws.rs.WebApplicationException
-
-