Class jJsonRpcRequest

Description

handle a JSON-rpc call. The response has to be a json rpc response.

Located in /core/request/jJsonRpcRequest.class.php (line 21)

jRequest
   |
   --jJsonRpcRequest
Variable Summary
Method Summary
void isAllowedResponse ( $respclass)
void _initParams ()
Variables
mixed $defaultResponseType = 'jsonrpc' (line 25)
  • access: public

Redefinition of:
jRequest::$defaultResponseType
the type of the default response
mixed $jsonRequestId = null (line 27)
  • access: public
mixed $type = 'jsonrpc' (line 23)
  • access: public

Redefinition of:
jRequest::$type
the request type code

Inherited Variables

Inherited from jRequest

jRequest::$params
jRequest::$urlPathInfo
jRequest::$urlScript
jRequest::$urlScriptName
jRequest::$urlScriptPath
Methods
isAllowedResponse (line 62)
  • access: public
void isAllowedResponse ( $respclass)
  • $respclass

Redefinition of:
jRequest::isAllowedResponse()
_initParams (line 32)

analyse the http request and set the params property

  • access: protected
void _initParams ()

Redefinition of:
jRequest::_initParams()
analyse the http request and sets the params property

Inherited Methods

Inherited From jRequest

jRequest::__construct()
jRequest::getDomainName()
jRequest::getIP()
jRequest::getParam()
jRequest::getPort()
jRequest::getProtocol()
jRequest::getResponse()
jRequest::getServerURI()
jRequest::header()
jRequest::headers()
jRequest::init()
jRequest::isAllowedResponse()
jRequest::readHttpBody()
jRequest::_initParams()
jRequest::_initUrlData()

Documentation generated on Thu, 19 Sep 2013 00:06:08 +0200 by phpDocumentor 1.4.3