@Provider @Priority(value=2147483647) public class EofExceptionWriterInterceptor extends Object implements javax.ws.rs.ext.WriterInterceptor
WriterInterceptor to swallow EofException which occurs when a client
disconnects before the complete response could be sent.EarlyEofExceptionMapper,
EofException| Constructor and Description |
|---|
EofExceptionWriterInterceptor(com.codahale.metrics.MetricRegistry metricRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context) |
@Inject public EofExceptionWriterInterceptor(com.codahale.metrics.MetricRegistry metricRegistry)
public void aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context)
throws IOException,
javax.ws.rs.WebApplicationException
aroundWriteTo in interface javax.ws.rs.ext.WriterInterceptorIOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2011. All rights reserved.