A B C D E G H I J L M P R S V

A

addMessageListener(JSONRPCEventListener) - Method in class com.werxltd.jsonrpc.RPC
Adds a class that implements the JSONRPCEventListener interface to the internal list of listeners
AFTERREQUEST - Static variable in class com.werxltd.jsonrpc.events.JSONRPCMessage
 
AFTERRESPONSE - Static variable in class com.werxltd.jsonrpc.events.JSONRPCMessage
 

B

BEFOREREQUEST - Static variable in class com.werxltd.jsonrpc.events.JSONRPCMessage
 
BEFORERESPONSE - Static variable in class com.werxltd.jsonrpc.events.JSONRPCMessage
 

C

clearErrorData() - Method in class com.werxltd.jsonrpc.Response
 
com.werxltd.jsonrpc - package com.werxltd.jsonrpc
 
com.werxltd.jsonrpc.events - package com.werxltd.jsonrpc.events
 

D

doGet(HttpServletRequest, HttpServletResponse) - Method in class com.werxltd.jsonrpc.RPC
Called by servlet container when a request is made.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.werxltd.jsonrpc.RPC
Forwards request to doGet method for consistency

E

EXCEPTION - Static variable in class com.werxltd.jsonrpc.events.JSONRPCMessage
 

G

getCode() - Method in class com.werxltd.jsonrpc.events.JSONRPCMessage
 
getCode() - Method in exception com.werxltd.jsonrpc.JSONRPCException
Get the JSON-RPC error code of this exception.
getHttpResponse() - Method in class com.werxltd.jsonrpc.events.JSONRPCMessage
 
getId() - Method in class com.werxltd.jsonrpc.Request
 
getId() - Method in class com.werxltd.jsonrpc.Response
 
getJSON() - Method in class com.werxltd.jsonrpc.Request
 
getJSON() - Method in class com.werxltd.jsonrpc.Response
 
getJSONString() - Method in class com.werxltd.jsonrpc.Response
 
getJSONString(int) - Method in class com.werxltd.jsonrpc.Response
 
getMethod() - Method in class com.werxltd.jsonrpc.Request
 
getParam(String) - Method in class com.werxltd.jsonrpc.Request
 
getParamAt(int) - Method in class com.werxltd.jsonrpc.Request
 
getParamCount() - Method in class com.werxltd.jsonrpc.Request
 
getParamObj() - Method in class com.werxltd.jsonrpc.Request
 
getParamtype() - Method in class com.werxltd.jsonrpc.Request
 
getRequest() - Method in class com.werxltd.jsonrpc.events.JSONRPCMessage
 
getResult() - Method in class com.werxltd.jsonrpc.Response
 
getRPCResponse() - Method in class com.werxltd.jsonrpc.events.JSONRPCMessage
 
getServletConfig() - Method in class com.werxltd.jsonrpc.events.JSONRPCMessage
 

H

hasParam(String) - Method in class com.werxltd.jsonrpc.Request
 

I

INIT - Static variable in class com.werxltd.jsonrpc.events.JSONRPCMessage
 
init(ServletConfig) - Method in class com.werxltd.jsonrpc.RPC
This method reads the servlet configuration for a list of classes it should scan for acceptable Method objects that can be called remotely.

J

JSONRPCEventListener - Interface in com.werxltd.jsonrpc.events
 
JSONRPCException - Exception in com.werxltd.jsonrpc
A standardized exception class that conforms with JSON-RPC specifications.
JSONRPCException() - Constructor for exception com.werxltd.jsonrpc.JSONRPCException
 
JSONRPCException(String) - Constructor for exception com.werxltd.jsonrpc.JSONRPCException
 
JSONRPCException(String, long) - Constructor for exception com.werxltd.jsonrpc.JSONRPCException
 
JSONRPCMessage - Class in com.werxltd.jsonrpc.events
 
JSONRPCMessage(int) - Constructor for class com.werxltd.jsonrpc.events.JSONRPCMessage
 
JSONRPCMessageEvent - Class in com.werxltd.jsonrpc.events
 
JSONRPCMessageEvent(Object, JSONRPCMessage) - Constructor for class com.werxltd.jsonrpc.events.JSONRPCMessageEvent
 

L

listrpcmethods() - Method in class com.werxltd.jsonrpc.RPC
Method lists available RPC methods loaded from configured classes.
LOG - Static variable in class com.werxltd.jsonrpc.RPC
 

M

message() - Method in class com.werxltd.jsonrpc.events.JSONRPCMessageEvent
 
messageReceived(JSONRPCMessageEvent) - Method in interface com.werxltd.jsonrpc.events.JSONRPCEventListener
 

P

parseJSON(String) - Method in class com.werxltd.jsonrpc.Request
 
parseParams(String) - Method in class com.werxltd.jsonrpc.Request
 

R

removeMessageListener(JSONRPCEventListener) - Method in class com.werxltd.jsonrpc.RPC
Removes a class that implements the JSONRPCEventListener interface from the internal list of listeners
Request - Class in com.werxltd.jsonrpc
 
Request() - Constructor for class com.werxltd.jsonrpc.Request
 
Request(String) - Constructor for class com.werxltd.jsonrpc.Request
 
Request.ParamType - Enum in com.werxltd.jsonrpc
 
Response - Class in com.werxltd.jsonrpc
 
Response(Exception) - Constructor for class com.werxltd.jsonrpc.Response
 
Response(Throwable) - Constructor for class com.werxltd.jsonrpc.Response
 
Response() - Constructor for class com.werxltd.jsonrpc.Response
 
RPC - Class in com.werxltd.jsonrpc
This class creates a servlet which implements the JSON-RPC specification.
RPC() - Constructor for class com.werxltd.jsonrpc.RPC
 

S

setCode(int) - Method in class com.werxltd.jsonrpc.events.JSONRPCMessage
 
setCode(long) - Method in exception com.werxltd.jsonrpc.JSONRPCException
Set the JSON-RPC error code for this exception
setHttpResponse(HttpServletResponse) - Method in class com.werxltd.jsonrpc.events.JSONRPCMessage
 
setId(String) - Method in class com.werxltd.jsonrpc.Request
 
setId(String) - Method in class com.werxltd.jsonrpc.Response
 
setMethod(String) - Method in class com.werxltd.jsonrpc.Request
 
setParamCount(int) - Method in class com.werxltd.jsonrpc.Request
 
setParamtype(Request.ParamType) - Method in class com.werxltd.jsonrpc.Request
 
setRequest(HttpServletRequest) - Method in class com.werxltd.jsonrpc.events.JSONRPCMessage
 
setResult(Object) - Method in class com.werxltd.jsonrpc.Response
 
setRPCResponse(Response) - Method in class com.werxltd.jsonrpc.events.JSONRPCMessage
 
setServletConfig(ServletConfig) - Method in class com.werxltd.jsonrpc.events.JSONRPCMessage
 

V

valueOf(String) - Static method in enum com.werxltd.jsonrpc.Request.ParamType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.werxltd.jsonrpc.Request.ParamType
Returns an array containing the constants of this enum type, in the order they are declared.

A B C D E G H I J L M P R S V

Copyright © 2010. All Rights Reserved.