railo.runtime.tag
Class ThreadTag
java.lang.Object
railo.runtime.ext.tag.TagImpl
railo.runtime.ext.tag.BodyTagImpl
railo.runtime.tag.ThreadTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag, DynamicAttributes
public final class ThreadTag
- extends BodyTagImpl
- implements DynamicAttributes
Lets you execute HTTP POST and GET operations on files. Using cfhttp, you can execute standard
GET operations and create a query object from a text file. POST operations lets you upload MIME file
types to a server, or post cookie, formfield, URL, file, or CGI variables directly to a specified server.
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
ThreadTag
public ThreadTag()
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class BodyTagImpl
setAction
public void setAction(String strAction)
throws ApplicationException
- Parameters:
action
- the action to set
- Throws:
ApplicationException
setDuration
public void setDuration(double duration)
- Parameters:
duration
- the duration to set
setName
public void setName(String name)
- Parameters:
name
- the name to set
setPriority
public void setPriority(String strPriority)
throws ApplicationException
- Parameters:
strPriority
- the priority to set
- Throws:
ApplicationException
setType
public void setType(String strType)
throws ApplicationException,
SecurityException
- Parameters:
strType
- the type to set
- Throws:
ApplicationException
SecurityException
setRetryintervall
public void setRetryintervall(Object obj)
throws PageException
- Throws:
PageException
setRetryinterval
public void setRetryinterval(Object obj)
throws PageException
- Throws:
PageException
setTimeout
public void setTimeout(double timeout)
- Parameters:
timeout
- the timeout to set
setDynamicAttribute
public void setDynamicAttribute(String uri,
String name,
Object value)
- Specified by:
setDynamicAttribute
in interface DynamicAttributes
- Parameters:
uri
- the namespace of the attribute, or null if in the default namespace.name
- the name of the attribute being set.value
- the value of the attribute
setDynamicAttribute
public void setDynamicAttribute(String uri,
Collection.Key name,
Object value)
- Specified by:
setDynamicAttribute
in interface DynamicAttributes
- Parameters:
uri
- the namespace of the attribute, or null if in the default namespace.name
- the name of the attribute being set.value
- the value of the attribute
doStartTag
public int doStartTag()
throws PageException
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class TagImpl
- Throws:
PageException
doEndTag
public int doEndTag()
throws PageException
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class TagImpl
- Throws:
PageException
register
public void register(Page currentPage,
int threadIndex)
throws PageException
- Throws:
PageException
doInitBody
public void doInitBody()
- Specified by:
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
- Overrides:
doInitBody
in class BodyTagImpl
doAfterBody
public int doAfterBody()
- Specified by:
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
- Overrides:
doAfterBody
in class BodyTagImpl
hasBody
public void hasBody(boolean hasBody)
- sets if has body or not
- Parameters:
hasBody
-
Copyright © 2012 Railo