Serializablepublic class RedirectionException extends WebApplicationException
3xx status codes).| Constructor | Description | 
|---|---|
| RedirectionException(int status,
                    URI location) | Construct a new redirection exception. | 
| RedirectionException(String message,
                    int status,
                    URI location) | Construct a new redirection exception. | 
| RedirectionException(String message,
                    Response response) | Construct a new redirection exception. | 
| RedirectionException(String message,
                    Response.Status status,
                    URI location) | Construct a new redirection exception. | 
| RedirectionException(Response response) | Construct a new redirection exception. | 
| RedirectionException(Response.Status status,
                    URI location) | Construct a new redirection exception. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| URI | getLocation() | Get the redirection response location. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringgetResponsepublic RedirectionException(Response.Status status, URI location)
status - redirection status. Must be a 3xx redirection code.location - redirection URI placed into the response Location header.IllegalArgumentException - in case the status code is null or is not from
                                  Response.Status.Family.REDIRECTION status code
                                  family.public RedirectionException(String message, Response.Status status, URI location)
message - the detail message (which is saved for later retrieval
                 by the Throwable.getMessage() method).status - redirection status. Must be a 3xx redirection code.location - redirection URI placed into the response Location header.IllegalArgumentException - in case the status code is null or is not from
                                  Response.Status.Family.REDIRECTION status code
                                  family.public RedirectionException(int status,
                            URI location)
status - redirection status. Must be a 3xx redirection code.location - redirection URI placed into the response Location header.IllegalArgumentException - in case the status code is not a valid HTTP status code or
                                  if it is not from the Response.Status.Family.REDIRECTION
                                  status code family.public RedirectionException(String message, int status, URI location)
message - the detail message (which is saved for later retrieval
                 by the Throwable.getMessage() method).status - redirection status. Must be a 3xx redirection code.location - redirection URI placed into the response Location header.IllegalArgumentException - in case the status code is not a valid HTTP status code or
                                  if it is not from the Response.Status.Family.REDIRECTION
                                  status code family.public RedirectionException(Response response)
response - redirection response. Must have a status code set to a 3xx
                 redirection code.IllegalArgumentException - in case the response status code is not from the
                                  Response.Status.Family.REDIRECTION status code family.public RedirectionException(String message, Response response)
message - the detail message (which is saved for later retrieval
                 by the Throwable.getMessage() method).response - redirection response. Must have a status code set to a 3xx
                 redirection code.IllegalArgumentException - in case the response status code is not from the
                                  Response.Status.Family.REDIRECTION status code family.public URI getLocation()
Copyright (c) 2019 Eclipse Foundation. Licensed under Eclipse Foundation Specification License.