Class ExceptionMapperUtils
- java.lang.Object
-
- org.apache.storm.daemon.ui.exceptionmappers.ExceptionMapperUtils
-
public class ExceptionMapperUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ExceptionMapperUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static jakarta.ws.rs.core.Response
getResponse(Exception ex, jakarta.inject.Provider<jakarta.servlet.http.HttpServletRequest> request)
getResponse.static jakarta.ws.rs.core.Response
getResponse(Exception ex, jakarta.ws.rs.core.Response.Status responseStatus, jakarta.inject.Provider<jakarta.servlet.http.HttpServletRequest> request)
getResponse.static jakarta.ws.rs.core.Response
getResponse(AuthorizationException ex, jakarta.inject.Provider<jakarta.servlet.http.HttpServletRequest> request)
getResponse.
-
-
-
Method Detail
-
getResponse
public static jakarta.ws.rs.core.Response getResponse(Exception ex, jakarta.ws.rs.core.Response.Status responseStatus, jakarta.inject.Provider<jakarta.servlet.http.HttpServletRequest> request)
getResponse.- Parameters:
ex
- exresponseStatus
- responseStatus- Returns:
- getResponse
-
getResponse
public static jakarta.ws.rs.core.Response getResponse(AuthorizationException ex, jakarta.inject.Provider<jakarta.servlet.http.HttpServletRequest> request)
getResponse.- Parameters:
ex
- exrequest
- request- Returns:
- getResponse
-
getResponse
public static jakarta.ws.rs.core.Response getResponse(Exception ex, jakarta.inject.Provider<jakarta.servlet.http.HttpServletRequest> request)
getResponse.- Parameters:
ex
- ex- Returns:
- getResponse
-
-