public class ForwardRouteException extends ResponseResetableException
| Constructor and Description |
|---|
ForwardRouteException(String newRoute) |
ForwardRouteException(String newRoute,
boolean resetResponse) |
ForwardRouteException(String newRoute,
String message) |
ForwardRouteException(String newRoute,
String message,
boolean resetResponse) |
| Modifier and Type | Method and Description |
|---|---|
String |
getNewRoute()
The new route to forward to.
|
isResetResponseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ForwardRouteException(String newRoute)
newRoute - The new route to forward to. This can be a
full URL or a path (+ potential queryString)public ForwardRouteException(String newRoute, boolean resetResponse)
newRoute - The new route to forward to. This can be a
full URL or a path (+ potential queryString)resetResponse - If not already flushed, should the response be
reset before running the new route?public ForwardRouteException(String newRoute, String message)
newRoute - The new route to forward to. This can be a
full URL or a path (+ potential queryString)public ForwardRouteException(String newRoute, String message, boolean resetResponse)
newRoute - The new route to forward to. This can be a
full URL or a path (+ potential queryString)resetResponse - If not already flushed, should the response be
reset before running the new route?public String getNewRoute()
Copyright © 2016. All rights reserved.