com.counterclaim.openefm.client
Class HttpContentClient

java.lang.Object
  |
  +--com.counterclaim.openefm.client.HttpContentClient

public class HttpContentClient
extends java.lang.Object


Constructor Summary
HttpContentClient()
           
 
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
 

Constructor Detail

HttpContentClient

public HttpContentClient()
Method Detail

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 to
port - The port the http server is running on, 80 normally
path - The path of the servlet / script to post to
content - 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.