All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class util.HttpMessage

java.lang.Object
   |
   +----util.HttpMessage

public class HttpMessage
extends Object
This class files allow the applet to communicate to the servlet It can simulate POST/GET methods on a servlet


Constructor Index

 o HttpMessage(URL)
Constructor

Method Index

 o sendGetMessage()
GET request with zero arguments
 o sendGetMessage(Properties)
GET request with arguments
 o sendPostMessage()
POST request with zero arguments
 o sendPostMessage(Properties)
POST request with a string to be posted
 o sendPostMessage(Serializable)
POST request with posting a serializable object

Constructors

 o HttpMessage
 public HttpMessage(URL servlet)
Constructor

Parameters:
servlet - URL

Methods

 o sendGetMessage
 public InputStream sendGetMessage() throws IOException
GET request with zero arguments

 o sendGetMessage
 public InputStream sendGetMessage(Properties args) throws IOException
GET request with arguments

Parameters:
args - Properties Contains the parameters to be submitted with the GET request
 o sendPostMessage
 public InputStream sendPostMessage() throws IOException
POST request with zero arguments

 o sendPostMessage
 public InputStream sendPostMessage(Serializable obj) throws IOException
POST request with posting a serializable object

Parameters:
obj - Serializable The object to be posted
 o sendPostMessage
 public InputStream sendPostMessage(Properties args) throws IOException
POST request with a string to be posted

Parameters:
args - Properties Contains the parameters to be posted

All Packages  Class Hierarchy  This Package  Previous  Next  Index