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)
getResponse.
ex
- exresponseStatus
- responseStatuspublic static javax.ws.rs.core.Response getResponse(AuthorizationException ex, javax.inject.Provider<javax.servlet.http.HttpServletRequest> request)
getResponse.
ex
- exrequest
- requestpublic static javax.ws.rs.core.Response getResponse(Exception ex, javax.inject.Provider<javax.servlet.http.HttpServletRequest> request)
getResponse.
ex
- exCopyright © 2020 The Apache Software Foundation. All rights reserved.