A B C D E G I J N P R S T U

A

acceptCookies() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Returns true if HTTP cookies are accepted, else false if they are ignored.
acceptCookies(boolean) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Specifies whether to accept HTTP cookies contained in the server response.

B

BAD_RESPONSE - Static variable in exception com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException
Invalid JSON-RPC 2.0 response (invalid JSON or invalid JSON-RPC 2.0 response message).

C

com.thetransactioncompany.jsonrpc2.client - package com.thetransactioncompany.jsonrpc2.client
Provides a client-side class for dispatching requests and notifications to a JSON-RPC 2.0 server.
configure(HttpURLConnection) - Method in interface com.thetransactioncompany.jsonrpc2.client.ConnectionConfigurator
Allows for additional configuration of the specified HTTP URL connection before it is established.
ConnectionConfigurator - Interface in com.thetransactioncompany.jsonrpc2.client
Interface allowing for additional configuration of HTTP URL connections, such as setting a custom header.
createTrustAllSocketFactory() - Static method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session
Creates a trust-all-certificates SSL socket factory.

D

DEFAULT_ACCEPT_COOKIES - Static variable in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
The default HTTP cookie acceptance policy.
DEFAULT_ALLOWED_RESPONSE_CONTENT_TYPES - Static variable in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
The default allowed "Content-Type" (MIME) header values of HTTP responses.
DEFAULT_CONNECT_TIMEOUT - Static variable in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
The default HTTP connect timeout.
DEFAULT_CONTENT_TYPE - Static variable in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
The default "Content-Type" (MIME) header value of HTTP POST requests.
DEFAULT_ENABLE_COMPRESSION - Static variable in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
The default HTTP GZIP and DEFLATE compression enable policy.
DEFAULT_IGNORE_VERSION - Static variable in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
The default policy for version 2.0 checking.
DEFAULT_ORIGIN - Static variable in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
The default CORS "Origin" header value.
DEFAULT_PARSE_NON_STD_ATTRIBUTES - Static variable in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
The default policy for parsing non-standard attributes in JSON-RPC 2.0 messages.
DEFAULT_PRESERVE_OBJECT_MEMBER_ORDER - Static variable in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
The default policy for preserving the order of parsed JSON object members.
DEFAULT_READ_TIMEOUT - Static variable in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
The default HTTP read timeout.
DEFAULT_TRUST_ALL - Static variable in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
The default policy for trusting self-signed certificates.

E

enableCompression(boolean) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Enables or disables HTTP response compression using GZIP or DEFLATE content encoding.
enableCompression() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Checks if HTTP response compression using GZIP or DEFLATE content encoding is enabled or disabled.

G

getAllowedResponseContentTypes() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Gets the allowed "Content-Type" (MIME) header values of HTTP responses.
getCauseType() - Method in exception com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException
Returns the exception cause type.
getConnectionConfigurator() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session
Gets the custom HTTP URL connection configurator.
getConnectTimeout() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Gets the HTTP connect timeout.
getContent() - Method in class com.thetransactioncompany.jsonrpc2.client.RawResponse
Returns the raw response content.
getContentEncoding() - Method in class com.thetransactioncompany.jsonrpc2.client.RawResponse
Returns the value of the "Content-Encoding" header field.
getContentLength() - Method in class com.thetransactioncompany.jsonrpc2.client.RawResponse
Returns the value of the "Content-Length" header field.
getContentType() - Method in class com.thetransactioncompany.jsonrpc2.client.RawResponse
Returns the value of the "Content-Type" header field.
getCookies() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session
Gets all non-expired HTTP cookies currently stored in the client.
getHeaderField(String) - Method in class com.thetransactioncompany.jsonrpc2.client.RawResponse
Returns the value of the named header field.
getHeaderFields() - Method in class com.thetransactioncompany.jsonrpc2.client.RawResponse
Returns an unmodifiable Map of the header fields.
getOptions() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session
Gets the JSON-RPC 2.0 client session options.
getOrigin() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Gets the value of the "Origin" HTTP header.
getProxy() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Gets the HTTP proxy.
getRawResponseInspector() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session
Gets the optional inspector for the raw HTTP responses.
getReadTimeout() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Gets the HTTP read timeout.
getRequestContentType() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Gets the value of the "Content-Type" (MIME) header for HTTP POST requests.
getStatusCode() - Method in class com.thetransactioncompany.jsonrpc2.client.RawResponse
Gets the status code from the HTTP response message, e.g.
getStatusMessage() - Method in class com.thetransactioncompany.jsonrpc2.client.RawResponse
Gets the HTTP response status message, if any, returned along with the status code from a server.
getURL() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session
Gets the JSON-RPC 2.0 server URL.

I

ignoresVersion() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Returns true if strict parsing of received JSON-RPC 2.0 responses is disabled and the "jsonrpc" version attribute is not checked for "2.0" equality.
ignoreVersion(boolean) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Controls the strictness of the JSON-RPC 2.0 response parser.
inspect(RawResponse) - Method in interface com.thetransactioncompany.jsonrpc2.client.RawResponseInspector
Allows for inspection of the specified raw HTTP response to a JSON-RPC 2.0 request or nofitication.
isAllowedResponseContentType(String) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Checks if the specified HTTP "Content-Type" (MIME) header value is allowed.

J

JSONRPC2_ERROR - Static variable in exception com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException
Received a JSON-RPC 2.0 error response.
JSONRPC2Session - Class in com.thetransactioncompany.jsonrpc2.client
Sends requests and / or notifications to a specified JSON-RPC 2.0 server URL.
JSONRPC2Session(URL) - Constructor for class com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session
Creates a new client session to a JSON-RPC 2.0 server at the specified URL.
JSONRPC2SessionException - Exception in com.thetransactioncompany.jsonrpc2.client
Thrown to indicate a JSON-RPC 2.0 client session exception.
JSONRPC2SessionException(String) - Constructor for exception com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException
Creates a new JSON-RPC 2.0 session exception with the specified message; the cause type is UNSPECIFIED.
JSONRPC2SessionException(String, int) - Constructor for exception com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException
Creates a new JSON-RPC 2.0 session exception with the specified message and cause type.
JSONRPC2SessionException(String, int, Throwable) - Constructor for exception com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException
Creates a new JSON-RPC 2.0 session exception with the specified message, cause type and cause.
JSONRPC2SessionOptions - Class in com.thetransactioncompany.jsonrpc2.client
Optional settings for JSON-RPC 2.0 client sessions.
JSONRPC2SessionOptions() - Constructor for class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Creates a new default JSON-RPC 2.0 client session options instance.

N

NETWORK_EXCEPTION - Static variable in exception com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException
The exception cause is network or I/O related.

P

parse(HttpURLConnection) - Static method in class com.thetransactioncompany.jsonrpc2.client.RawResponse
Parses the raw HTTP response from the specified URL connection.
parseNonStdAttributes(boolean) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Specifies whether to parse non-standard attributes found in JSON-RPC 2.0 responses.
parsesNonStdAttributes() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Returns true if non-standard attributes in JSON-RPC 2.0 responses are parsed.
preserveParseOrder(boolean) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Controls the behaviour of the JSON parser when processing object members in JSON-RPC 2.0 response results.
preservesParseOrder() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Returns true if the member order of parsed JSON objects in JSON-RPC 2.0 response results is preserved.

R

RawResponse - Class in com.thetransactioncompany.jsonrpc2.client
Represents the raw HTTP response to a JSON-RPC 2.0 request or notification.
RawResponseInspector - Interface in com.thetransactioncompany.jsonrpc2.client
Interface allowing for inspection of the raw HTTP response to a JSON-RPC 2.0 request or notification.

S

send(JSONRPC2Request) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session
Sends a JSON-RPC 2.0 request using HTTP POST and returns the server response.
send(JSONRPC2Notification) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session
Sends a JSON-RPC 2.0 notification using HTTP POST.
setAllowedResponseContentTypes(String[]) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Sets the allowed "Content-Type" (MIME) header values of HTTP responses.
setConnectionConfigurator(ConnectionConfigurator) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session
Specifies a custom HTTP URL connection configurator.
setConnectTimeout(int) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Sets the HTTP connect timeout.
setOptions(JSONRPC2SessionOptions) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session
Sets the JSON-RPC 2.0 client session options.
setOrigin(String) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Sets the value of the "Origin" HTTP header.
setProxy(Proxy) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Sets an HTTP proxy.
setRawResponseInspector(RawResponseInspector) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session
Specifies an optional inspector for the raw HTTP responses to JSON-RPC 2.0 requests and notifications.
setReadTimeout(int) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Sets the HTTP read timeout.
setRequestContentType(String) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Sets the value of the HTTP "Content-Type" (MIME) header.
setURL(URL) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session
Sets the JSON-RPC 2.0 server URL.

T

trustAllCerts(boolean) - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Controls checking of X.509 certificates presented by the server when establishing a secure HTTPS connection.
trustsAllCerts() - Method in class com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionOptions
Returns true if all X.509 certificates presented by the web server will be trusted, including self-signed ones.

U

UNEXPECTED_CONTENT_TYPE - Static variable in exception com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException
Unexpected "Content-Type" header value of the HTTP response.
UNEXPECTED_RESULT - Static variable in exception com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException
Unexpected JSON-RPC 2.0 response result (the result doesn't match the JSON type / format expected by the client).
UNSPECIFIED - Static variable in exception com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException
Unspecified cause type.

A B C D E G I J N P R S T U

Copyright © 2013 The Transaction Company. All Rights Reserved.