MethodParser Constructors

定义

重载

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 .

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 .

connectTimeout
Long

- maximum interval of time, in seconds, that the Direct Method will wait for the connection. It can benull .

payload
Object

- Object that contains the payload defined by the user. It can benull .

异常
IllegalArgumentException

This exception is thrown if the one of the provided information do not fits the requirements.

适用于