Class RestCall
- java.lang.Object
-
- org.eclipse.ecf.remoteservice.asyncproxy.AbstractAsyncProxyRemoteCall
-
- org.eclipse.ecf.remoteservice.RemoteCall
-
- org.eclipse.ecf.remoteservice.rest.RestCall
-
- All Implemented Interfaces:
Serializable
,IRemoteCall
,IRestCall
public class RestCall extends RemoteCall implements IRestCall, Serializable
Implementation ofIRestCall
. Note thatRestCallFactory
should typically be used to construct instances.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.eclipse.ecf.remoteservice.RemoteCall
method, parameters, timeout
-
Fields inherited from interface org.eclipse.ecf.remoteservice.IRemoteCall
DEFAULT_TIMEOUT
-
Fields inherited from interface org.eclipse.ecf.remoteservice.rest.IRestCall
DEFAULT_TIMEOUT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map
getRequestHeaders()
Provides any call-specific request headers.String
toString()
-
Methods inherited from class org.eclipse.ecf.remoteservice.RemoteCall
getMethod, getParameters, getTimeout
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.ecf.remoteservice.IRemoteCall
getMethod, getParameters, getTimeout
-
-
-
-
Method Detail
-
getRequestHeaders
public Map getRequestHeaders()
Description copied from interface:IRestCall
Provides any call-specific request headers.- Specified by:
getRequestHeaders
in interfaceIRestCall
- Returns:
- a
Map
object which contains and additional header parameters (String->String). May benull
.
-
toString
public String toString()
- Overrides:
toString
in classRemoteCall
-
-