HPSearch

cgl.hpsearch.common.SOAPProcessor
Class HTTPPayload

java.lang.Object
  extended bycgl.hpsearch.common.SOAPProcessor.HTTPPayload

public class HTTPPayload
extends Object

A container for holding the HTTP headers and the payload
Created on Feb 25, 2005

Author:
Harshawardhan Gadgil (hgadgil@grids.ucs.indiana.edu)

Field Summary
static int GET
           
static int POST
           
 
Constructor Summary
HTTPPayload()
           
 
Method Summary
 String getEndpoint()
           
 String getHeader(String key)
           
 String getMessage()
           
 Socket getSocket()
           
 int getVerb()
           
 void setEndpoint(String endpoint)
           
 void setHeader(String key, String value)
           
 void setMessage(String message)
           
 void setSocket(Socket socket)
           
 void setVerb(int verb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GET

public static final int GET
See Also:
Constant Field Values

POST

public static final int POST
See Also:
Constant Field Values
Constructor Detail

HTTPPayload

public HTTPPayload()
Method Detail

getSocket

public final Socket getSocket()
Returns:
Returns the socket.

setSocket

public final void setSocket(Socket socket)
Parameters:
socket - The socket to set.

setHeader

public void setHeader(String key,
                      String value)

getHeader

public String getHeader(String key)

getMessage

public final String getMessage()

setMessage

public final void setMessage(String message)

getEndpoint

public final String getEndpoint()

setEndpoint

public final void setEndpoint(String endpoint)

getVerb

public final int getVerb()

setVerb

public final void setVerb(int verb)

HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006