cgl.hpsearch.common.SOAPProcessor
Class HTTPPayload
java.lang.Object
cgl.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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GET
public static final int GET
- See Also:
- Constant Field Values
POST
public static final int POST
- See Also:
- Constant Field Values
HTTPPayload
public HTTPPayload()
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)