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 thatRestCallFactoryshould 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 MapgetRequestHeaders()Provides any call-specific request headers.StringtoString()-
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:IRestCallProvides any call-specific request headers.- Specified by:
getRequestHeadersin interfaceIRestCall- Returns:
- a
Mapobject which contains and additional header parameters (String->String). May benull.
-
toString
public String toString()
- Overrides:
toStringin classRemoteCall
-
-