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 |
param: Google_Http_Request $request return: bool Returns true if the insertion was successful. |
makeRequest(Google_Http_Request $request) X-Ref |
Execute an HTTP Request param: Google_Http_Request $request the http request to be executed return: Google_Http_Request http request with the response http code, |
getCachedRequest(Google_Http_Request $request) X-Ref |
param: Google_Http_Request $request return: Google_Http_Request|bool Returns the cached object or |
processEntityRequest(Google_Http_Request $request) X-Ref |
param: Google_Http_Request $request return: Google_Http_Request Processed request with the enclosed entity. |
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. param: $respData param: $headerSize return: array |
getHttpResponseHeaders($rawHeaders) X-Ref |
Parse out headers from raw headers param: rawHeaders array or string return: array |
parseStringHeaders($rawHeaders) X-Ref |
No description |
parseArrayHeaders($rawHeaders) X-Ref |
No description |