Class ProblemExceptionMapper

java.lang.Object
io.github.belgif.rest.problem.ee.server.jaxrs.ProblemExceptionMapper
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<io.github.belgif.rest.problem.api.Problem>

@Provider public class ProblemExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<io.github.belgif.rest.problem.api.Problem>
ExceptionMapper for Problem.
See Also:
  • ExceptionMapper
  • Constructor Details

    • ProblemExceptionMapper

      public ProblemExceptionMapper()
  • Method Details

    • toResponse

      public jakarta.ws.rs.core.Response toResponse(io.github.belgif.rest.problem.api.Problem problem)
      Specified by:
      toResponse in interface jakarta.ws.rs.ext.ExceptionMapper<io.github.belgif.rest.problem.api.Problem>