Defines JSON-RPC request.
Attributes
- See also
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Abstract methods
Tests for notification.
Tests for notification.
Attributes
- Note
-
A request is a notification if its identifier is undefined.
Gets method.
Gets method.
Attributes
Puts attribute.
Puts attribute.
Value parameters
- name
-
attribute name
- value
-
attribute value
Attributes
- Returns
-
new request
- Note
-
If attribute already exists with given name, then its value is replaced.
Removes attribute.
Removes attribute.
Value parameters
- name
-
attribute name
Attributes
- Returns
-
new request
Sets attributes.
Sets attributes.
Attributes
- Returns
-
new request
Inherited methods
Gets attributes.
Gets attributes.
Attributes
- Note
-
Attributes are arbitrary values associated with message and are not included in transmission.
- Inherited from:
- JsonRpcMessage
Gets attribute value.
Gets attribute value.
Value parameters
- name
-
attribute name
Attributes
- Throws
-
NoSuchElementException
if attribute does not exist
- Inherited from:
- JsonRpcMessage
Optionally gets attribute value.
Optionally gets attribute value.
Value parameters
- name
-
attribute name
Attributes
- Inherited from:
- JsonRpcMessage
Gets attribute value or returns default if attribute does not exist.
Gets attribute value or returns default if attribute does not exist.
Value parameters
- default
-
default value
- name
-
attribute name
Attributes
- Inherited from:
- JsonRpcMessage
Gets identifier.
Gets JSON-RPC version.