Class BadRequestMapper

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<java.io.IOException>

    @Provider
    public class BadRequestMapper
    extends AbstractMapper<java.io.IOException>
    Mapper for IO exceptions to the BAD_REQUEST response code.
    • Constructor Detail

      • BadRequestMapper

        public BadRequestMapper()
    • Method Detail

      • responseStatus

        protected javax.ws.rs.core.Response.Status responseStatus()
        Description copied from class: AbstractMapper
        Returns the response status to be given when the exception occurs.
        Specified by:
        responseStatus in class AbstractMapper<java.io.IOException>
        Returns:
        response status