Class ResteasyNotAuthorizedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.ws.rs.WebApplicationException
-
- jakarta.ws.rs.ClientErrorException
-
- jakarta.ws.rs.NotAuthorizedException
-
- org.jboss.resteasy.client.exception.ResteasyNotAuthorizedException
-
- All Implemented Interfaces:
Serializable,WebApplicationExceptionWrapper<jakarta.ws.rs.NotAuthorizedException>,SanitizedResponseHolder
public class ResteasyNotAuthorizedException extends jakarta.ws.rs.NotAuthorizedException implements WebApplicationExceptionWrapper<jakarta.ws.rs.NotAuthorizedException>
Wraps aNotAuthorizedExceptionwith a sanitized response- Author:
- James R. Perkins
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getChallenges()jakarta.ws.rs.core.ResponsegetSanitizedResponse()Returns the sanitized response.jakarta.ws.rs.NotAuthorizedExceptionunwrap()Returns the original, unwrapped, exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getChallenges
public List<Object> getChallenges()
- Overrides:
getChallengesin classjakarta.ws.rs.NotAuthorizedException
-
unwrap
public jakarta.ws.rs.NotAuthorizedException unwrap()
Description copied from interface:WebApplicationExceptionWrapperReturns the original, unwrapped, exception.- Specified by:
unwrapin interfaceWebApplicationExceptionWrapper<jakarta.ws.rs.NotAuthorizedException>- Returns:
- the original exception
-
getSanitizedResponse
public jakarta.ws.rs.core.Response getSanitizedResponse()
Description copied from interface:SanitizedResponseHolderReturns the sanitized response.- Specified by:
getSanitizedResponsein interfaceSanitizedResponseHolder- Returns:
- the sanitized response;
-
-