|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.baswell.routes.RedirectTo
public class RedirectTo
When thrown from BeforeRoute or Route methods the current request
will immediately (no further processing) be redirected to the given redirectUrl.
| Field Summary | |
|---|---|
java.lang.String |
redirectUrl
|
| Constructor Summary | |
|---|---|
RedirectTo(java.lang.String redirectUrl)
If redirectUrl is not a fully qualified URL then it will be considered relative from the current HTTP request. |
|
RedirectTo(java.net.URL redirectUrl)
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final java.lang.String redirectUrl
| Constructor Detail |
|---|
public RedirectTo(java.lang.String redirectUrl)
redirectUrl is not a fully qualified URL then it will be considered relative from the current HTTP request.
redirectUrl - public RedirectTo(java.net.URL redirectUrl)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||