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 Details

    • JettyEofExceptionWriterInterceptor

      public JettyEofExceptionWriterInterceptor()
  • Method Details

    • aroundWriteTo

      public void aroundWriteTo(jakarta.ws.rs.ext.WriterInterceptorContext context) throws IOException, jakarta.ws.rs.WebApplicationException
      Specified by:
      aroundWriteTo in interface jakarta.ws.rs.ext.WriterInterceptor
      Throws:
      IOException
      jakarta.ws.rs.WebApplicationException