public class RestCall extends RemoteCall implements IRestCall, Serializable
IRestCall
. Note that RestCallFactory
should
typically be used to construct instances.method, parameters, timeout
DEFAULT_TIMEOUT
Constructor and Description |
---|
RestCall(String fqMethod) |
RestCall(String fqMethod,
Object[] params) |
RestCall(String fqMethod,
Object[] params,
Map requestHeaders) |
RestCall(String fqMethod,
Object[] params,
Map requestHeaders,
long timeout) |
Modifier and Type | Method and Description |
---|---|
Map |
getRequestHeaders()
Provides any call-specific request headers.
|
String |
toString() |
getMethod, getParameters, getTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMethod, getParameters, getTimeout
public RestCall(String fqMethod)
public Map getRequestHeaders()
IRestCall
getRequestHeaders
in interface IRestCall
Map
object which contains and additional header parameters
(String->String). May be null
.public String toString()
toString
in class RemoteCall
Copyright © 2017. All rights reserved.