java.lang.Object
jakarta.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidSubclass hook to intercept request after servlet paths have been determined and before dispatch is called.getArgs()args will be set tonullto simulate initial request conditions of a redirect as well as possible.protected WildcardPatternMatcherstatic booleanisValidStatusCode(String statusCode) voidsetAbsolute(boolean absolute) voidsetAddLastModified(String addLastModified) voidsetCanonical(boolean canonical) voidvoidsetStatusCode(String statusCode) Methods inherited from class com.aoapps.taglib.DispatchTag
addDynamicAttribute, addParam, doTag, getParameterAlteredRequest, invoke, isForwarded, setDynamicAttribute, setPageMethods inherited from class jakarta.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.aoapps.taglib.ParamsAttribute
addParam
-
Constructor Details
-
RedirectTag
public RedirectTag()
-
-
Method Details
-
isValidStatusCode
-
setStatusCode
-
setHref
- Specified by:
setHrefin interfaceHrefAttribute
-
setAbsolute
public void setAbsolute(boolean absolute) -
setCanonical
public void setCanonical(boolean canonical) -
setAddLastModified
-
getClearParamsMatcher
- Specified by:
getClearParamsMatcherin classDispatchTag
-
getArgs
args will be set tonullto simulate initial request conditions of a redirect as well as possible.- Specified by:
getArgsin classDispatchTag
-
doTag
Description copied from class:DispatchTagSubclass hook to intercept request after servlet paths have been determined and before dispatch is called.This default implementation does nothing.
- Overrides:
doTagin classDispatchTag- Throws:
SkipPageException- If the implementation has handled the request, must throw SkipPageException.IOExceptionJspException
-
