Class DefaultExceptionMapper

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

    @Provider
    public class DefaultExceptionMapper
    extends Object
    implements jakarta.ws.rs.ext.ExceptionMapper<Throwable>
    • Field Detail

      • request

        @Inject
        public jakarta.inject.Provider<jakarta.servlet.http.HttpServletRequest> request
    • Constructor Detail

      • DefaultExceptionMapper

        public DefaultExceptionMapper()
    • Method Detail

      • toResponse

        public jakarta.ws.rs.core.Response toResponse​(Throwable throwable)
        toResponse.
        Specified by:
        toResponse in interface jakarta.ws.rs.ext.ExceptionMapper<Throwable>
        Parameters:
        throwable - throwable
        Returns:
        response