Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
D
E
G
H
I
M
N
P
R
T
C
com.thetransactioncompany.jsonrpc2.server
- package com.thetransactioncompany.jsonrpc2.server
Simple server framework for processing JSON-RPC 2.0 requests and notifications.
com.thetransactioncompany.jsonrpc2.server.examples
- package com.thetransactioncompany.jsonrpc2.server.examples
Examples.
D
dispatch(JSONRPC2Request, MessageContext)
- Method in class com.thetransactioncompany.jsonrpc2.server.
Dispatcher
Deprecated.
dispatch(JSONRPC2Notification, MessageContext)
- Method in class com.thetransactioncompany.jsonrpc2.server.
Dispatcher
Deprecated.
Dispatcher
- Class in
com.thetransactioncompany.jsonrpc2.server
Dispatcher for JSON-RPC 2.0 requests and notifications.
Dispatcher()
- Constructor for class com.thetransactioncompany.jsonrpc2.server.
Dispatcher
Creates a new dispatcher with no registered handlers.
E
equals(Object)
- Method in class com.thetransactioncompany.jsonrpc2.server.
MessageContext.BasicPrincipal
Checks for equality.
Example
- Class in
com.thetransactioncompany.jsonrpc2.server.examples
Demonstrates use of the JSON-RPC 2.0 Server framework.
Example()
- Constructor for class com.thetransactioncompany.jsonrpc2.server.examples.
Example
Example.DateTimeHandler
- Class in
com.thetransactioncompany.jsonrpc2.server.examples
Example.DateTimeHandler()
- Constructor for class com.thetransactioncompany.jsonrpc2.server.examples.
Example.DateTimeHandler
Example.EchoHandler
- Class in
com.thetransactioncompany.jsonrpc2.server.examples
Example.EchoHandler()
- Constructor for class com.thetransactioncompany.jsonrpc2.server.examples.
Example.EchoHandler
G
getClientHostName()
- Method in class com.thetransactioncompany.jsonrpc2.server.
MessageContext
Gets the host name of the client that sent the request / notification.
getClientInetAddress()
- Method in class com.thetransactioncompany.jsonrpc2.server.
MessageContext
Gets the IP address of the client that sent the request / notification.
getName()
- Method in class com.thetransactioncompany.jsonrpc2.server.
MessageContext.BasicPrincipal
Returns the principal name.
getNotificationHandler(String)
- Method in class com.thetransactioncompany.jsonrpc2.server.
Dispatcher
Gets the handler for the specified JSON-RPC 2.0 notification name.
getPrincipal()
- Method in class com.thetransactioncompany.jsonrpc2.server.
MessageContext
Returns the first authenticated client principal,
null
if none.
getPrincipalName()
- Method in class com.thetransactioncompany.jsonrpc2.server.
MessageContext
Returns the first authenticated client principal name,
null
if none.
getPrincipalNames()
- Method in class com.thetransactioncompany.jsonrpc2.server.
MessageContext
Returns the authenticated client principal names,
null
if none.
getPrincipals()
- Method in class com.thetransactioncompany.jsonrpc2.server.
MessageContext
Returns the authenticated client principals,
null
if none.
getRequestHandler(String)
- Method in class com.thetransactioncompany.jsonrpc2.server.
Dispatcher
Gets the handler for the specified JSON-RPC 2.0 request name.
H
handledNotifications()
- Method in class com.thetransactioncompany.jsonrpc2.server.
Dispatcher
handledNotifications()
- Method in interface com.thetransactioncompany.jsonrpc2.server.
NotificationHandler
Gets the names of the handled JSON-RPC 2.0 notification methods.
handledRequests()
- Method in class com.thetransactioncompany.jsonrpc2.server.
Dispatcher
handledRequests()
- Method in class com.thetransactioncompany.jsonrpc2.server.examples.
Example.DateTimeHandler
handledRequests()
- Method in class com.thetransactioncompany.jsonrpc2.server.examples.
Example.EchoHandler
handledRequests()
- Method in interface com.thetransactioncompany.jsonrpc2.server.
RequestHandler
Gets the names of the handled JSON-RPC 2.0 request methods.
hashCode()
- Method in class com.thetransactioncompany.jsonrpc2.server.
MessageContext.BasicPrincipal
Returns a hash code for this principal.
I
isSecure()
- Method in class com.thetransactioncompany.jsonrpc2.server.
MessageContext
Indicates whether the request / notification was received over a secure HTTPS connection.
M
main(String[])
- Static method in class com.thetransactioncompany.jsonrpc2.server.examples.
Example
MessageContext
- Class in
com.thetransactioncompany.jsonrpc2.server
Context information about JSON-RPC 2.0 request and notification messages.
MessageContext(String, String, boolean, String)
- Constructor for class com.thetransactioncompany.jsonrpc2.server.
MessageContext
Creates a new JSON-RPC 2.0 request / notification context.
MessageContext(String, String, boolean, String[])
- Constructor for class com.thetransactioncompany.jsonrpc2.server.
MessageContext
Creates a new JSON-RPC 2.0 request / notification context.
MessageContext(String, String, boolean)
- Constructor for class com.thetransactioncompany.jsonrpc2.server.
MessageContext
Creates a new JSON-RPC 2.0 request / notification context.
MessageContext(String, String)
- Constructor for class com.thetransactioncompany.jsonrpc2.server.
MessageContext
Creates a new JSON-RPC 2.0 request / notification context.
MessageContext()
- Constructor for class com.thetransactioncompany.jsonrpc2.server.
MessageContext
Creates a new JSON-RPC 2.0 request / notification context.
MessageContext(HttpServletRequest)
- Constructor for class com.thetransactioncompany.jsonrpc2.server.
MessageContext
Creates a new JSON-RPC 2.0 request / notification context from the specified HTTP request.
MessageContext(URLConnection)
- Constructor for class com.thetransactioncompany.jsonrpc2.server.
MessageContext
Creates a new JSON-RPC 2.0 request / notification context from the specified URL connection.
MessageContext.BasicPrincipal
- Class in
com.thetransactioncompany.jsonrpc2.server
Minimal implementation of the
Principal
interface.
MessageContext.BasicPrincipal(String)
- Constructor for class com.thetransactioncompany.jsonrpc2.server.
MessageContext.BasicPrincipal
Creates a new principal.
N
NotificationHandler
- Interface in
com.thetransactioncompany.jsonrpc2.server
Interface for handling JSON-RPC 2.0 notifications.
P
process(JSONRPC2Request, MessageContext)
- Method in class com.thetransactioncompany.jsonrpc2.server.
Dispatcher
process(JSONRPC2Notification, MessageContext)
- Method in class com.thetransactioncompany.jsonrpc2.server.
Dispatcher
process(JSONRPC2Request, MessageContext)
- Method in class com.thetransactioncompany.jsonrpc2.server.examples.
Example.DateTimeHandler
process(JSONRPC2Request, MessageContext)
- Method in class com.thetransactioncompany.jsonrpc2.server.examples.
Example.EchoHandler
process(JSONRPC2Notification, MessageContext)
- Method in interface com.thetransactioncompany.jsonrpc2.server.
NotificationHandler
Processes a JSON-RPC 2.0 notification.
process(JSONRPC2Request, MessageContext)
- Method in interface com.thetransactioncompany.jsonrpc2.server.
RequestHandler
Processes a JSON-RPC 2.0 request.
R
register(RequestHandler)
- Method in class com.thetransactioncompany.jsonrpc2.server.
Dispatcher
Registers a new JSON-RPC 2.0 request handler.
register(NotificationHandler)
- Method in class com.thetransactioncompany.jsonrpc2.server.
Dispatcher
Registers a new JSON-RPC 2.0 notification handler.
reportProcTime(boolean)
- Method in class com.thetransactioncompany.jsonrpc2.server.
Dispatcher
Controls reporting of request processing time by appending a non-standard "xProcTime" attribute to the JSON-RPC 2.0 response.
reportsProcTime()
- Method in class com.thetransactioncompany.jsonrpc2.server.
Dispatcher
Returns
true
if reporting of request processing time is enabled.
RequestHandler
- Interface in
com.thetransactioncompany.jsonrpc2.server
Interface for handling JSON-RPC 2.0 requests.
T
toString()
- Method in class com.thetransactioncompany.jsonrpc2.server.
MessageContext
C
D
E
G
H
I
M
N
P
R
T
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2013
The Transaction Company
. All Rights Reserved.