|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--javax.servlet.ServletException | +--com.xmlserv.main.RedirectException
This subclass of ServletException can be used to force XMLServ to send a redirect to another URL. The target is relative to the base path if it does not start with '/'.
Constructor Summary | |
RedirectException(java.lang.String target)
Create a new Exception object. |
Method Summary | |
java.lang.String |
getTarget()
This target is interpreted relative to the base path if it does not start with '/'. |
Methods inherited from class javax.servlet.ServletException |
getRootCause |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RedirectException(java.lang.String target)
target
- The target URL.Method Detail |
public java.lang.String getTarget()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |