org.objectweb.proactive.core.body.http.util
Class HttpMessage

java.lang.Object
  extended byorg.objectweb.proactive.core.body.http.util.HttpMessage
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
HttpLookupMessage, HttpReply, HttpRequest, ReflectRequest

public abstract class HttpMessage
extends java.lang.Object
implements java.io.Serializable

This interface is used to encapsulate any kind of HTTP message.

Author:
vlegrand
See Also:
Serializable, Serialized Form

Field Summary
protected  java.lang.Object returnedObject
           
 
Constructor Summary
HttpMessage(java.lang.String url)
           
 
Method Summary
abstract  java.lang.Object processMessage()
          Processes the message.
 void send()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

returnedObject

protected java.lang.Object returnedObject
Constructor Detail

HttpMessage

public HttpMessage(java.lang.String url)
Method Detail

processMessage

public abstract java.lang.Object processMessage()
                                         throws java.lang.Exception
Processes the message.

Returns:
an object as a result of the execution of the message
Throws:
java.lang.Exception

send

public final void send()
                throws HTTPRemoteException
Throws:
HTTPRemoteException


Copyright 2001-2005 INRIA All Rights Reserved.