Class ResteasyRedirectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.RedirectionException
org.jboss.resteasy.client.exception.ResteasyRedirectionException
- All Implemented Interfaces:
Serializable,WebApplicationExceptionWrapper<RedirectionException>
public class ResteasyRedirectionException
extends RedirectionException
implements WebApplicationExceptionWrapper<RedirectionException>
Wraps a
RedirectionException with a sanitized response.- Author:
- James R. Perkins
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet the redirection response location.unwrap()Returns the original, unwrapped, exception.Methods inherited from class jakarta.ws.rs.WebApplicationException
getResponseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getLocation
Description copied from class:RedirectionExceptionGet the redirection response location.- Overrides:
getLocationin classRedirectionException- Returns:
- redirection response location.
-
unwrap
Description copied from interface:WebApplicationExceptionWrapperReturns the original, unwrapped, exception.- Specified by:
unwrapin interfaceWebApplicationExceptionWrapper<RedirectionException>- Returns:
- the original exception
-