Class CodeTag
java.lang.Object
jakarta.servlet.jsp.tagext.SimpleTagSupport
net.thauvin.erik.httpstatus.taglibs.CodeTag
The
<hs:code>
tag returns the HTTP Status Error Code.- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doTag()
Writes the HTTP Status Error Code to the current JspWriter.Methods inherited from class jakarta.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
-
Constructor Details
-
CodeTag
public CodeTag()
-
-
Method Details
-
doTag
Writes the HTTP Status Error Code to the current JspWriter.- Specified by:
doTag
in interfaceSimpleTag
- Overrides:
doTag
in classSimpleTagSupport
- Throws:
IOException
- If an I/O error occurs
-