java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
com.aoapps.taglib.DispatchTag
com.aoapps.taglib.RedirectTag
- All Implemented Interfaces:
HrefAttribute
,PageAttribute
,ParamsAttribute
,DynamicAttributes
,JspTag
,SimpleTag
- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from class com.aoapps.taglib.DispatchTag
FORWARDED_REQUEST_ATTRIBUTE, page, params
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Subclass hook to intercept request after servlet paths have been determined and before dispatch is called.getArgs()
args will be set tonull
to simulate initial request conditions of a redirect as well as possible.protected WildcardPatternMatcher
static boolean
isValidStatusCode
(String statusCode) void
setAbsolute
(boolean absolute) void
setAddLastModified
(String addLastModified) void
setCanonical
(boolean canonical) void
void
setStatusCode
(String statusCode) Methods inherited from class com.aoapps.taglib.DispatchTag
addDynamicAttribute, addParam, doTag, getParameterAlteredRequest, invoke, isForwarded, setDynamicAttribute, setPage
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aoapps.taglib.ParamsAttribute
addParam
-
Constructor Details
-
RedirectTag
public RedirectTag()
-
-
Method Details
-
isValidStatusCode
-
setStatusCode
-
setHref
- Specified by:
setHref
in interfaceHrefAttribute
-
setAbsolute
public void setAbsolute(boolean absolute) -
setCanonical
public void setCanonical(boolean canonical) -
setAddLastModified
-
getClearParamsMatcher
- Specified by:
getClearParamsMatcher
in classDispatchTag
-
getArgs
args will be set tonull
to simulate initial request conditions of a redirect as well as possible.- Specified by:
getArgs
in classDispatchTag
-
doTag
Description copied from class:DispatchTag
Subclass hook to intercept request after servlet paths have been determined and before dispatch is called.This default implementation does nothing.
- Overrides:
doTag
in classDispatchTag
- Throws:
SkipPageException
- If the implementation has handled the request, must throw SkipPageException.IOException
JspException
-