com.counterclaim.openefm.client
Class HttpContentClient
java.lang.Object
|
+--com.counterclaim.openefm.client.HttpContentClient
- public class HttpContentClient
- extends java.lang.Object
Method Summary |
static void |
main(java.lang.String[] args)
Testing driver |
java.lang.String |
sendContent(java.lang.String host_ip,
int port,
java.lang.String path,
java.lang.String content)
This class sends the content string to a http server and captures
the response. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpContentClient
public HttpContentClient()
sendContent
public java.lang.String sendContent(java.lang.String host_ip,
int port,
java.lang.String path,
java.lang.String content)
- This class sends the content string to a http server and captures
the response.
- Parameters:
host_ip
- The ip address of the http server to post toport
- The port the http server is running on, 80 normallypath
- The path of the servlet / script to post tocontent
- The content to deliver- Returns:
- The response from the post
main
public static void main(java.lang.String[] args)
- Testing driver
Copyright © 2002 counterclaim.com. All Rights Reserved.