|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsunlabs.brazil.template.Template
sunlabs.brazil.template.RedirectTemplate
public class RedirectTemplate
[Deprecated, use the AddHeaderTemplate instead.]
Template class for redirecting an html page
This class is used by the TemplateHandler
Field Summary |
---|
Fields inherited from class sunlabs.brazil.template.Template |
---|
debug |
Constructor Summary | |
---|---|
RedirectTemplate()
|
Method Summary | |
---|---|
boolean |
done(RewriteContext hr)
adjust the response headers to reflect redirection, if supplied. |
void |
redirect(RewriteContext hr)
Look for a redirect tag, change it to an HREF, and remember where to redirect to (e.g. |
Methods inherited from class sunlabs.brazil.template.Template |
---|
debug, debug, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RedirectTemplate()
Method Detail |
---|
public void redirect(RewriteContext hr)
<redirect http://some.where.com>)
public boolean done(RewriteContext hr)
done
in interface TemplateInterface
done
in class Template
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |