net.sf.myjaut.cmd
Class HttpCommand
java.lang.Object
net.sf.myjaut.cmd.HttpCommand
- All Implemented Interfaces:
- Command<HttpCommandException>
public class HttpCommand
- extends java.lang.Object
- implements Command<HttpCommandException>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpCommand
public HttpCommand(java.lang.String url)
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 . It is licensed under the and comes with NO WARRANTY. See file for more info.