Skip to content
Reference > Classes

RpcRequest

Definition

RpcRequest var = .... ;

Extends

Extended By

None

Description

Represents a call to/from a RPC API

Method Summary

Owner Name Return Type Description
RpcRequest constructor(targetUrl, methodName, arguments) RpcRequest Initializes a RPC Request object with the given arguments.
RpcRequest getArguments() Map Returns a map of the arguments of this RPC request.
Object getClassName() String Returns the string name of this object's class type.
RpcRequest getMethodName() String Returns the method name of this RPC request.
RpcRequest getRequestUid() String Returns the request uid.
RpcRequest getRequiredTargetLayout() String Returns the required target layout of this RPC request.
RpcRequest getRequiredTargetSessionId() String Returns the required target sessionId of this RPC request.
RpcRequest getRequiredTargetUsername() String Returns the required target username of this RPC request.
RpcRequest getSourceSessionId() String Returns the source SessionId of this RPC request.
RpcRequest getSourceUrl() String Returns the source URL of this RPC request.
RpcRequest getSourceUsername() String Returns the source username of this RPC request.
RpcRequest getTargetUrl() String Returns the taget URL of this RPC request.
Object toJson() String Returns a json representation of this object.

Method Definitions


constructor(targetUrl,methodName,arguments)

RpcRequest rpcrequest = new RpcRequest(String targetUrl, String methodName, Map arguments)

Description

Initializes a RPC Request object with the given arguments.

Parameter Definition

Name Type Description
targetUrl String  In the form http[s]://host[:port]
methodName String  method name to call on target
arguments Map  arguments to pass into method

constructor(targetUrl,methodName,arguments)

RpcRequest rpcrequest = new RpcRequest(String targetUrl, String methodName, Map arguments)

Description

Initializes a RPC Request object with the given arguments.

Parameter Definition

Name Type Description
targetUrl String  In the form http[s]://host[:port]
methodName String  method name to call on target
arguments Map  arguments to pass into method

getArguments()

Map RpcRequest::getArguments()

Description

Returns a map of the arguments of this RPC request.


getMethodName()

String RpcRequest::getMethodName()

Description

Returns the method name of this RPC request.


getRequestUid()

String RpcRequest::getRequestUid()

Description

Returns the request uid.


getRequiredTargetLayout()

String RpcRequest::getRequiredTargetLayout()

Description

Returns the required target layout of this RPC request.


getRequiredTargetSessionId()

String RpcRequest::getRequiredTargetSessionId()

Description

Returns the required target sessionId of this RPC request.


getRequiredTargetUsername()

String RpcRequest::getRequiredTargetUsername()

Description

Returns the required target username of this RPC request.


getSourceSessionId()

String RpcRequest::getSourceSessionId()

Description

Returns the source SessionId of this RPC request.


getSourceUrl()

String RpcRequest::getSourceUrl()

Description

Returns the source URL of this RPC request.


getSourceUsername()

String RpcRequest::getSourceUsername()

Description

Returns the source username of this RPC request.


getTargetUrl()

String RpcRequest::getTargetUrl()

Description

Returns the taget URL of this RPC request.