|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.taursys.servlet.respond.AbstractResponder com.taursys.servlet.respond.ClientRedirectResponder
ClientRedirectResponder redirects the client to a URL as the response.
Constructor Summary | |
ClientRedirectResponder()
Constructs a new ClientRedirectResponder |
|
ClientRedirectResponder(java.lang.String redirectURL)
Constructs a new ClientRedirectResponder |
Method Summary | |
java.lang.String |
getRedirectURL()
Get the URL to redirect the client to. |
void |
respond()
Responds by redirecting client the the redirectURL. |
void |
setRedirectURL(java.lang.String newRedirectURL)
Set the URL to redirect the client to. |
Methods inherited from class com.taursys.servlet.respond.AbstractResponder |
getServletForm, setServletForm |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClientRedirectResponder()
public ClientRedirectResponder(java.lang.String redirectURL)
redirectURL
- url where to redirect clientMethod Detail |
public void respond() throws java.lang.Exception
respond
in interface Responder
respond
in class AbstractResponder
java.lang.Exception
- if problem respondingpublic void setRedirectURL(java.lang.String newRedirectURL)
newRedirectURL
- the URL to redirect the client to.public java.lang.String getRedirectURL()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |