You are here

class WsclientRestJSONFormatter in Web service client 7

Hierarchy

Expanded class hierarchy of WsclientRestJSONFormatter

2 string references to 'WsclientRestJSONFormatter'
WSClientRESTEndpoint::formAlter in wsclient_rest/wsclient_rest.inc
Adds options to the Web Service config form specific to the REST service.
wsclient_rest_update_7100 in wsclient_rest/wsclient_rest.install
Add default formatters (send_formatter and receive_formatter) if they are not set for each existing service.

File

wsclient_rest/wsclient_rest.inc, line 252
Web service client REST - include file.

View source
class WsclientRestJSONFormatter extends HttpClientBaseFormatter {
  public function __construct() {
    parent::__construct(self::FORMAT_JSON);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
HttpClientBaseFormatter::$format protected property
HttpClientBaseFormatter::$mimeTypes protected property
HttpClientBaseFormatter::accepts public function Return the mime type that the formatter can parse. Overrides HttpClientFormatter::accepts
HttpClientBaseFormatter::contentType public function Return the content type form the data the formatter generates. Overrides HttpClientFormatter::contentType
HttpClientBaseFormatter::FORMAT_FORM constant
HttpClientBaseFormatter::FORMAT_JSON constant
HttpClientBaseFormatter::FORMAT_PHP constant
HttpClientBaseFormatter::mimeType public function Returns the mime type to use.
HttpClientBaseFormatter::serialize public function Serializes arbitrary data. Overrides HttpClientFormatter::serialize
HttpClientBaseFormatter::unserialize public function Unserializes data. Overrides HttpClientFormatter::unserialize
WsclientRestJSONFormatter::__construct public function Overrides HttpClientBaseFormatter::__construct