java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
jakarta.servlet.jsp.tagext.BodyTagSupport
com.aoapps.encoding.taglib.legacy.EncodingBufferedBodyTag
com.newmediaworks.taglib.email.legacy.HeaderTag
- All Implemented Interfaces:
BodyTag,IterationTag,JspTag,Tag,TryCatchFinally,Serializable
Adds or sets a header value to the email or any of its parts.
- Author:
- New Media Works
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
bodyContentFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAGFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intdoEndTag(BufferResult capturedBody, Writer out) voidprotected intdoStartTag(Writer out) voidvoidsetReplace(boolean replace) voidMethods inherited from class com.aoapps.encoding.taglib.legacy.EncodingBufferedBodyTag
doAfterBody, doAfterBody, doCatch, doEndTag, doInitBody, doStartTag, getTempFileThreshold, setMediaEncoderOptions, writeEncoderPrefix, writeEncoderSuffix, writePrefix, writeSuffixMethods inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
getBodyContent, getPreviousOut, release, setBodyContentMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
-
Constructor Details
-
HeaderTag
public HeaderTag()
-
-
Method Details
-
getContentType
- Specified by:
getContentTypein classEncodingBufferedBodyTag
-
getOutputType
- Specified by:
getOutputTypein classEncodingBufferedBodyTag
-
setName
-
setValue
-
setReplace
public void setReplace(boolean replace) -
doStartTag
- Overrides:
doStartTagin classEncodingBufferedBodyTag- Throws:
JspExceptionIOException
-
doEndTag
- Overrides:
doEndTagin classEncodingBufferedBodyTag- Throws:
JspExceptionIOException
-
doFinally
public void doFinally()- Specified by:
doFinallyin interfaceTryCatchFinally- Overrides:
doFinallyin classEncodingBufferedBodyTag
-
