|
||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||
See:
Description
| Class Summary | |
|---|---|
| Client | Simple interactive JSON-RPC 2.0 console client. |
| ClientSession | A quasi client session for sending multiple requests and/or notifications to a JSON-RPC 2.0 server. |
| CmdLineArgs | Wraps the command line arguments required to launch a new JSON-RPC 2.0
Client. |
| InputParser | Provides parsing of user input to the JSON-RPC 2.0 console client shell. |
| Exception Summary | |
|---|---|
| CmdLineParseException | Thrown on a command line arguments parse exception. |
| ContentTypeException | Thrown to indicate a content type exception, such as a mismatch between the indicated (in the HTTP "Content-Type" header) and the expected (MIME) type. |
| FatalRpcException | Thrown to indicate a remote procedure call which cannot be reasonably retried (e.g. |
| InputParseException | Thrown to indicate an exception while parsing user input to the shell. |
Classes for a simple interactive JSON-RPC 2.0 console client. The requests and responses are transported over HTTP using the POST method which is the typical choice for web applications utilising JSON RPC.
This client was designed specifically to help test and debug JSON-RPC 2.0 web services from the Windows CLI or the Unix shell. You can extend it to provide more sophisticated command line editing or to add additional commands and options.
The application's entry point is
Client.main(java.lang.String[]).
The JSON-RPC 2.0 specification and user group forum can be found here.
Package dependencies:
com.thetransactioncompany.jsonrpc2 from the sister
JSON-RPC 2.0 Base
package.
org.json.simple and org.json.simple.parser
from the JSON.simple
toolkit.
jline from the JLine
console input library.
jargs.gnu from the JArgs
command line option parsing suite.
The required packages should normally be included in the JAR file of this package.
|
||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||