railo.runtime.tag
Class Header
java.lang.Object
railo.runtime.ext.tag.TagImpl
railo.runtime.tag.Header
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.Tag
public final class Header
- extends TagImpl
Generates custom HTTP response headers to return to the client.
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Header
public Header()
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class TagImpl
- See Also:
Tag.release()
setValue
public void setValue(String value)
- set the value value
A value for the HTTP header. This attribute is used in conjunction with the name attribute.
- Parameters:
value
- value to set
setStatustext
public void setStatustext(String statustext)
- set the value statustext
Text that explains the status code. This attribute is used in conjunction with the
statusCode attribute.
- Parameters:
statustext
- value to set
setName
public void setName(String name)
- set the value name
A name for the header.
- Parameters:
name
- value to set
setStatuscode
public void setStatuscode(double statuscode)
- set the value statuscode
A number that sets the HTTP status code.
- Parameters:
statuscode
- value to set
setCharset
public void setCharset(String charset)
- Parameters:
charset
- The charset to set.
doStartTag
public int doStartTag()
throws PageException
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class TagImpl
- Throws:
PageException
- See Also:
Tag.doStartTag()
doEndTag
public int doEndTag()
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class TagImpl
- See Also:
Tag.doEndTag()
Copyright © 2012 Railo