Class MCRIgnoreClientAbortInterceptor

java.lang.Object
org.mycore.restapi.MCRIgnoreClientAbortInterceptor
All Implemented Interfaces:
jakarta.ws.rs.ext.WriterInterceptor

@Priority(1) public class MCRIgnoreClientAbortInterceptor extends Object implements jakarta.ws.rs.ext.WriterInterceptor
Ignores IOException when writing to client OutputStream
See Also:
  • Constructor Details

    • MCRIgnoreClientAbortInterceptor

      public MCRIgnoreClientAbortInterceptor()
  • Method Details

    • aroundWriteTo

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