Class JettyEofExceptionWriterInterceptor
java.lang.Object
io.confluent.kafka.schemaregistry.rest.exceptions.JettyEofExceptionWriterInterceptor
- All Implemented Interfaces:
jakarta.ws.rs.ext.WriterInterceptor
public class JettyEofExceptionWriterInterceptor
extends Object
implements jakarta.ws.rs.ext.WriterInterceptor
A
WriterInterceptor to swallow EofException which
occurs when a client disconnects before the complete response could be sent.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaroundWriteTo(jakarta.ws.rs.ext.WriterInterceptorContext context)
-
Constructor Details
-
JettyEofExceptionWriterInterceptor
public JettyEofExceptionWriterInterceptor()
-
-
Method Details
-
aroundWriteTo
public void aroundWriteTo(jakarta.ws.rs.ext.WriterInterceptorContext context) throws IOException, jakarta.ws.rs.WebApplicationException - Specified by:
aroundWriteToin interfacejakarta.ws.rs.ext.WriterInterceptor- Throws:
IOExceptionjakarta.ws.rs.WebApplicationException
-