Class EarlyEofExceptionMapper
- java.lang.Object
-
- org.sdase.commons.server.jackson.errors.EarlyEofExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.eclipse.jetty.io.EofException>
@Provider public class EarlyEofExceptionMapper extends java.lang.Object implements javax.ws.rs.ext.ExceptionMapper<org.eclipse.jetty.io.EofException>
Exception mapper if client disconnects unexpectedly. This mapper replacesEarlyEofExceptionMapper
to return the customApiError
.
-
-
Constructor Summary
Constructors Constructor Description EarlyEofExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(org.eclipse.jetty.io.EofException exception)
-