public class RedirectTemplate extends Template
Constructor and Description |
---|
RedirectTemplate() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void redirect(RewriteContext hr)
<redirect http://some.where.com>)
public boolean done(RewriteContext hr)
done
in interface TemplateInterface
done
in class Template