org.eclipse.ecf.remoteservice.rest
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:
- java.io.Serializable, IRemoteCall, IRestCall
public class RestCall
- extends RemoteCall
- implements IRestCall, java.io.Serializable
Implementation of IRestCall
. Note that RestCallFactory
should
typically be used to construct instances.
- See Also:
- Serialized Form
Constructor Summary |
RestCall(java.lang.String fqMethod)
|
RestCall(java.lang.String fqMethod,
java.lang.Object[] params)
|
RestCall(java.lang.String fqMethod,
java.lang.Object[] params,
java.util.Map requestHeaders)
|
RestCall(java.lang.String fqMethod,
java.lang.Object[] params,
java.util.Map requestHeaders,
long timeout)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RestCall
public RestCall(java.lang.String fqMethod,
java.lang.Object[] params,
java.util.Map requestHeaders,
long timeout)
RestCall
public RestCall(java.lang.String fqMethod,
java.lang.Object[] params,
java.util.Map requestHeaders)
RestCall
public RestCall(java.lang.String fqMethod,
java.lang.Object[] params)
RestCall
public RestCall(java.lang.String fqMethod)
getRequestHeaders
public java.util.Map getRequestHeaders()
- Description copied from interface:
IRestCall
- Provides any call-specific request headers.
- Specified by:
getRequestHeaders
in interface IRestCall
- Returns:
- a
Map
object which contains and additional header parameters
(String->String). May be null
.
toString
public java.lang.String toString()
- Overrides:
toString
in class RemoteCall