net.sf.myjaut.cmd
Class HttpCommand

java.lang.Object
  extended by net.sf.myjaut.cmd.HttpCommand
All Implemented Interfaces:
Command<HttpCommandException>

public class HttpCommand
extends java.lang.Object
implements Command<HttpCommandException>


Constructor Summary
HttpCommand(java.lang.String url)
           
 
Method Summary
 void addParameter(java.lang.String key, boolean value)
           
 void addParameter(java.lang.String key, double value)
           
 void addParameter(java.lang.String key, float value)
           
 void addParameter(java.lang.String key, long value)
           
 void addParameter(java.lang.String key, java.lang.String value)
           
 void execute()
           
 java.io.InputStream getHttpResult(java.lang.String url, java.lang.String parameters)
           
 org.w3c.dom.Document getResponse()
           
 XmlProperties getXmlProperties()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpCommand

public HttpCommand(java.lang.String url)
Method Detail

execute

public void execute()
             throws HttpCommandException
Specified by:
execute in interface Command<HttpCommandException>
Throws:
HttpCommandException

getHttpResult

public java.io.InputStream getHttpResult(java.lang.String url,
                                         java.lang.String parameters)
                                  throws java.net.MalformedURLException,
                                         java.io.IOException
Throws:
java.net.MalformedURLException
java.io.IOException

addParameter

public void addParameter(java.lang.String key,
                         long value)

addParameter

public void addParameter(java.lang.String key,
                         float value)

addParameter

public void addParameter(java.lang.String key,
                         double value)

addParameter

public void addParameter(java.lang.String key,
                         boolean value)

addParameter

public void addParameter(java.lang.String key,
                         java.lang.String value)

getXmlProperties

public XmlProperties getXmlProperties()

getResponse

public org.w3c.dom.Document getResponse()


This code documentation is disclosed as part of Kagiru Sudoku. It is licensed under the GNU General Public License (GPL) and comes with NO WARRANTY. See file license.txt for more info.