railo.runtime.tag
Class ThreadTag

java.lang.Object
  extended by railo.runtime.ext.tag.TagImpl
      extended by railo.runtime.ext.tag.BodyTagImpl
          extended by 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.


Field Summary
 
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
 
Constructor Summary
ThreadTag()
           
 
Method Summary
 int doAfterBody()
           
 int doEndTag()
           
 void doInitBody()
           
 int doStartTag()
           
 void hasBody(boolean hasBody)
          sets if has body or not
 void register(Page currentPage, int threadIndex)
           
 void release()
           
 void setAction(String strAction)
           
 void setDuration(double duration)
           
 void setDynamicAttribute(String uri, String name, Object value)
           
 void setName(String name)
           
 void setPriority(String strPriority)
           
 void setRetryinterval(Object obj)
           
 void setRetryintervall(Object obj)
           
 void setTimeout(double timeout)
           
 void setType(String strType)
           
 
Methods inherited from class railo.runtime.ext.tag.BodyTagImpl
setBodyContent
 
Methods inherited from class railo.runtime.ext.tag.TagImpl
getParent, required, required, required, required, setPageContext, setPageContext, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

ThreadTag

public ThreadTag()
Method Detail

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class BodyTagImpl
See Also:
Tag.release()

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

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()
             throws PageException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class TagImpl
Throws:
PageException
See Also:
Tag.doEndTag()

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
See Also:
BodyTag.doInitBody()

doAfterBody

public int doAfterBody()
Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Overrides:
doAfterBody in class BodyTagImpl
See Also:
IterationTag.doAfterBody()

hasBody

public void hasBody(boolean hasBody)
sets if has body or not

Parameters:
hasBody -


Copyright © 2012 Railo