railo.runtime.tag
Class HttpParam

java.lang.Object
  extended by railo.runtime.ext.tag.TagImpl
      extended by railo.runtime.tag.HttpParam
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag

public final class HttpParam
extends TagImpl

Required for cfhttp POST operations, cfhttpparam is used to specify the parameters necessary to build a cfhttp POST.


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
HttpParam()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 void release()
           
 void setEncoded(boolean encoded)
          Applies to FormField and CGI types; ignored for all other types.
 void setFile(String file)
          set the value file Required for type = "File".
 void setMimetype(String mimetype)
          Applies to File type; invalid for all other types.
 void setName(String name)
          set the value name A variable name for the data being passed.
 void setType(String type)
          set the value type The transaction type.
 void setValue(Object value)
          set the value value Specifies the value of the URL, FormField, Cookie, File, or CGI variable being passed.
 
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
 

Constructor Detail

HttpParam

public HttpParam()
Method Detail

setEncoded

public void setEncoded(boolean encoded)
Applies to FormField and CGI types; ignored for all other types. Specifies whether to URLEncode the form field or header.

Parameters:
encoded -

setMimetype

public void setMimetype(String mimetype)
Applies to File type; invalid for all other types. Specifies the MIME media type of the file contents. The content type can include an identifier for the character encoding of the file; for example, text/html; charset=ISO-8859-1 indicates that the file is HTML text in the ISO Latin-1 character encoding.

Parameters:
mimetype -

setValue

public void setValue(Object value)
set the value value Specifies the value of the URL, FormField, Cookie, File, or CGI variable being passed.

Parameters:
value - value to set

setType

public void setType(String type)
set the value type The transaction type.

Parameters:
type - value to set

setFile

public void setFile(String file)
set the value file Required for type = "File".

Parameters:
file - value to set

setName

public void setName(String name)
set the value name A variable name for the data being passed.

Parameters:
name - value to set

doStartTag

public int doStartTag()
               throws ApplicationException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class TagImpl
Throws:
ApplicationException

doEndTag

public int doEndTag()
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class TagImpl

release

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


Copyright © 2012 Railo