MethodParser Constructors

Definition

Overloads

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)
Parameters
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)
Parameters
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 .

Exceptions
IllegalArgumentException

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