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 |
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_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, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent, setPageContext, setParent
public void setVar(String var)
public void setScope(String scope)
public void addParameter(String name, String value)
ParamParent
addParameter
in interface ParamParent
ParamSupport
public int doStartTag() throws JspException
BodyTagSupport
doStartTag
in interface Tag
doStartTag
in class BodyTagSupport
JspException
- if an error occurred while processing this tagTag.doStartTag()
public int doEndTag() throws JspException
BodyTagSupport
doEndTag
in interface Tag
doEndTag
in class BodyTagSupport
JspException
- if an error occurred while processing this tagTag.doEndTag()
public void release()
BodyTagSupport
release
in interface Tag
release
in class BodyTagSupport
Tag.release()
Copyright © 2017 JBoss by Red Hat. All rights reserved.