org.directwebremoting.jsonrpc
Interface JsonRpcConstants


public interface JsonRpcConstants

Various constants from the JSON-RPC spec: http://groups.google.com/group/json-rpc/web/json-rpc-1-2-proposal

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Field Summary
static int ERROR_CODE_BAD_PARAMS
          Invalid method parameters.
static int ERROR_CODE_INTERNAL
          Internal JSON-RPC error.
static int ERROR_CODE_INVALID
          Invalid Request: The received JSON not a valid JSON-RPC Request
static int ERROR_CODE_NO_METHOD
          Method not found.
static int ERROR_CODE_PARSE
          Parse error Invalid JSON.
static int ERROR_CODE_SERVER
          Reserved for implementation-defined server-errors.
 

Field Detail

ERROR_CODE_PARSE

static final int ERROR_CODE_PARSE
Parse error Invalid JSON. An error occurred on the server while parsing the JSON text

See Also:
Constant Field Values

ERROR_CODE_INVALID

static final int ERROR_CODE_INVALID
Invalid Request: The received JSON not a valid JSON-RPC Request

See Also:
Constant Field Values

ERROR_CODE_NO_METHOD

static final int ERROR_CODE_NO_METHOD
Method not found. The requested remote-procedure does not exist / is not available.

See Also:
Constant Field Values

ERROR_CODE_BAD_PARAMS

static final int ERROR_CODE_BAD_PARAMS
Invalid method parameters.

See Also:
Constant Field Values

ERROR_CODE_INTERNAL

static final int ERROR_CODE_INTERNAL
Internal JSON-RPC error.

See Also:
Constant Field Values

ERROR_CODE_SERVER

static final int ERROR_CODE_SERVER
Reserved for implementation-defined server-errors.

See Also:
Constant Field Values

Copyright 2008