Class EmptyOptionalExceptionMapper

  • All Implemented Interfaces:
    jakarta.ws.rs.ext.ExceptionMapper<EmptyOptionalException>

    public class EmptyOptionalExceptionMapper
    extends Object
    implements jakarta.ws.rs.ext.ExceptionMapper<EmptyOptionalException>
    The default response when an empty optional is returned, is to respond with a 404 NOT FOUND response.
    • Constructor Detail

      • EmptyOptionalExceptionMapper

        public EmptyOptionalExceptionMapper()