java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
jakarta.servlet.jsp.tagext.BodyTagSupport
com.newmediaworks.taglib.payment.CaptureTag
- All Implemented Interfaces:
BodyTag,IterationTag,JspTag,Tag,TryCatchFinally,Serializable
Captures the funds from a previous authorization-only transaction (from
PaymentTag with capture=false).- Author:
- New Media Works
- See Also:
-
Field Summary
FieldsFields 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 TypeMethodDescriptionvoidvoidintstatic Optional<CaptureTag> getCurrent(ServletRequest request) static CaptureTagrequireCurrent(String fromName, ServletRequest request) voidsetTransactionId(String transactionId) Methods inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, 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
-
Field Details
-
TAG_NAME
- See Also:
-
-
Constructor Details
-
CaptureTag
public CaptureTag()
-
-
Method Details
-
getCurrent
-
requireCurrent
public static CaptureTag requireCurrent(String fromName, ServletRequest request) throws JspException - Throws:
JspException
-
setTransactionId
-
doStartTag
- Specified by:
doStartTagin interfaceTag- Overrides:
doStartTagin classBodyTagSupport- Throws:
JspException
-
doCatch
- Specified by:
doCatchin interfaceTryCatchFinally- Throws:
Throwable
-
doFinally
public void doFinally()- Specified by:
doFinallyin interfaceTryCatchFinally
-
