org.objectweb.proactive.core.body.http.util.messages
Class BodyRequest
java.lang.Object
org.objectweb.proactive.core.body.http.util.HttpMessage
org.objectweb.proactive.core.body.http.util.messages.ReflectRequest
org.objectweb.proactive.core.body.http.util.messages.BodyRequest
- All Implemented Interfaces:
- java.io.Serializable
- public class BodyRequest
- extends ReflectRequest
- implements java.io.Serializable
This class is used to encapsulate a request into an HTTP message
- Author:
- jbrocoll
- See Also:
Serializable
,
Serialized Form
Constructor Summary |
BodyRequest(java.lang.String methodName,
java.util.ArrayList parameters,
UniqueID oaid,
java.lang.String url)
Construct a request to send to the Active object identified by the UniqueID |
Methods inherited from class org.objectweb.proactive.core.body.http.util.HttpMessage |
send |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BodyRequest
public BodyRequest(java.lang.String methodName,
java.util.ArrayList parameters,
UniqueID oaid,
java.lang.String url)
- Construct a request to send to the Active object identified by the UniqueID
- Parameters:
methodName
- The method name contained in the requestparameters
- The parameters associated with the methodoaid
- The unique ID of targeted active object
getMethodName
public java.lang.String getMethodName()
getReturnedObject
public java.lang.Object getReturnedObject()
throws java.lang.Exception
- Throws:
java.lang.Exception
processMessage
public java.lang.Object processMessage()
throws java.lang.Exception
- This method process the request. Generally it is executed when the request is sent and unmarshalled.
- Specified by:
processMessage
in class HttpMessage
- Returns:
- a RuntimeReply containing the result of the method call
- Throws:
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.IllegalArgumentException
java.lang.Exception
Copyright 2001-2005 INRIA All Rights Reserved.