public abstract class RedirectSupport extends BodyTagSupport implements ParamParent
Support for tag handlers for <redirect>, JSTL 1.0's tag for redirecting to a new URL (with optional query parameters).
| Modifier and Type | Field and Description |
|---|---|
protected String |
context |
protected String |
url |
bodyContentid, pageContextEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
RedirectSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(String name,
String value)
Adds a parameter to this tag's URL.
|
int |
doEndTag()
Default processing of the end tag returning EVAL_PAGE.
|
int |
doStartTag()
Default processing of the start tag returning EVAL_BODY_BUFFERED.
|
void |
release()
Release state.
|
void |
setScope(String scope) |
void |
setVar(String var) |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, setPageContext, setParentpublic void setVar(String var)
public void setScope(String scope)
public void addParameter(String name, String value)
ParamParentaddParameter in interface ParamParentParamSupportpublic int doStartTag()
throws JspException
BodyTagSupportdoStartTag in interface TagdoStartTag in class BodyTagSupportJspException - if an error occurred while processing this tagTag.doStartTag()public int doEndTag()
throws JspException
BodyTagSupportdoEndTag in interface TagdoEndTag in class BodyTagSupportJspException - if an error occurred while processing this tagTag.doEndTag()public void release()
BodyTagSupportrelease in interface Tagrelease in class BodyTagSupportTag.release()Copyright © 2018 JBoss by Red Hat. All rights reserved.