MethodParser 构造函数
定义
重载
MethodParser() |
CONSTRUCTOR Create a MethodParser instance with provided values. |
MethodParser(Object payload) |
CONSTRUCTOR Create a MethodParser instance with provided values. |
MethodParser(String name, Long responseTimeout, Long connectTimeout, Object payload) |
CONSTRUCTOR Create a MethodParser instance with provided values. |
MethodParser()
CONSTRUCTOR Create a MethodParser instance with provided values.
public MethodParser()
MethodParser(Object payload)
CONSTRUCTOR Create a MethodParser instance with provided values.
public MethodParser(Object payload)
参数
- payload
- Object
- Object that contains the payload defined by the user. It can benull
</code> . </p>
MethodParser(String name, Long responseTimeout, Long connectTimeout, Object payload)
CONSTRUCTOR Create a MethodParser instance with provided values.
public MethodParser(String name, Long responseTimeout, Long connectTimeout, Object payload)
参数
- name
- String
- method name [required].
- responseTimeout
- Long
- maximum interval of time, in seconds, that the Direct Method will wait for answer. It can benull
</code> . </p>
- connectTimeout
- Long
- maximum interval of time, in seconds, that the Direct Method will wait for the connection. It can benull
</code> . </p>
- payload
- Object
- Object that contains the payload defined by the user. It can benull
</code> . </p>
例外
This exception is thrown if the one of the provided information do not fits the requirements.