public class ExceptionMapperUtils extends Object
Constructor and Description |
---|
ExceptionMapperUtils() |
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.Response |
getResponse(AuthorizationException ex,
javax.inject.Provider<javax.servlet.http.HttpServletRequest> request)
getResponse.
|
static javax.ws.rs.core.Response |
getResponse(Exception ex,
javax.inject.Provider<javax.servlet.http.HttpServletRequest> request)
getResponse.
|
static javax.ws.rs.core.Response |
getResponse(Exception ex,
javax.ws.rs.core.Response.Status responseStatus,
javax.inject.Provider<javax.servlet.http.HttpServletRequest> request)
getResponse.
|
public static javax.ws.rs.core.Response getResponse(Exception ex, javax.ws.rs.core.Response.Status responseStatus, javax.inject.Provider<javax.servlet.http.HttpServletRequest> request)
ex
- exresponseStatus
- responseStatuspublic static javax.ws.rs.core.Response getResponse(AuthorizationException ex, javax.inject.Provider<javax.servlet.http.HttpServletRequest> request)
ex
- exrequest
- requestpublic static javax.ws.rs.core.Response getResponse(Exception ex, javax.inject.Provider<javax.servlet.http.HttpServletRequest> request)
ex
- exCopyright © 2023 The Apache Software Foundation. All rights reserved.