Abstract IO base class
File Size: | 339 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Google_IO_Abstract:: (11 methods):
__construct()
setCachedRequest()
makeRequest()
getCachedRequest()
processEntityRequest()
checkMustRevalidateCachedRequest()
updateCachedRequest()
parseHttpResponse()
getHttpResponseHeaders()
parseStringHeaders()
parseArrayHeaders()
Class: Google_IO_Abstract - X-Ref
__construct(Google_Client $client) X-Ref |
No description |
setCachedRequest(Google_Http_Request $request) X-Ref |
return: bool Returns true if the insertion was successful. param: Google_Http_Request $request |
makeRequest(Google_Http_Request $request) X-Ref |
Execute an HTTP Request return: Google_Http_Request http request with the response http code, param: Google_Http_Request $request the http request to be executed |
getCachedRequest(Google_Http_Request $request) X-Ref |
return: Google_Http_Request|bool Returns the cached object or param: Google_Http_Request $request |
processEntityRequest(Google_Http_Request $request) X-Ref |
return: Google_Http_Request Processed request with the enclosed entity. param: Google_Http_Request $request |
checkMustRevalidateCachedRequest($cached, $request) X-Ref |
Check if an already cached request must be revalidated, and if so update the request with the correct ETag headers. param: Google_Http_Request $cached A previously cached response. param: Google_Http_Request $request The outbound request. |
updateCachedRequest($cached, $responseHeaders) X-Ref |
Update a cached request, using the headers from the last response. param: Google_Http_Request $cached A previously cached response. param: mixed Associative array of response headers from the last request. |
parseHttpResponse($respData, $headerSize) X-Ref |
Used by the IO lib and also the batch processing. return: array param: $respData param: $headerSize |
getHttpResponseHeaders($rawHeaders) X-Ref |
Parse out headers from raw headers return: array param: rawHeaders array or string |
parseStringHeaders($rawHeaders) X-Ref |
No description |
parseArrayHeaders($rawHeaders) X-Ref |
No description |