Public Member Functions | |
(BOOL) | - beginFetchMayDelay:mayAuthorize: |
(void) | - failToBeginFetchWithError: |
(BOOL) | - authorizeRequest |
(void) | - authorizer:request:finishedWithError: |
(NSString *) | - createTempDownloadFilePathForPath: |
(NSFileManager *) | - fileManager |
(void) | - stopFetchReleasingCallbacks: |
(BOOL) | - shouldReleaseCallbacksUponCompletion |
(void) | - addCookiesToRequest: |
(void) | - handleCookiesForResponse: |
(void) | - logNowWithError: |
(void) | - invokeFetchCallbacksWithData:error: |
(void) | - invokeFetchCallback:target:data:error: |
(void) | - releaseCallbacks |
(void) | - connection:didFailWithError: |
(BOOL) | - shouldRetryNowForStatus:error: |
(void) | - destroyRetryTimer |
(void) | - beginRetryTimer |
(void) | - primeRetryTimerWithNewTimeInterval: |
(void) | - sendStopNotificationIfNeeded |
(void) | - retryFetch |
(void) | - retryTimerFired: |
Properties | |
NSString * | temporaryDownloadPath |
id< GTMCookieStorageProtocol > | cookieStorage |
NSData * | downloadedData |
- (void) addCookiesToRequest: | (NSMutableURLRequest *) | request |
- (void) authorizer: | (id< GTMFetcherAuthorizationProtocol >) | auth | |
request: | (NSMutableURLRequest *) | request | |
finishedWithError: | (NSError *) | error | |
- (BOOL) authorizeRequest |
- (BOOL) beginFetchMayDelay: | (BOOL) | mayDelay | |
mayAuthorize: | (BOOL) | mayAuthorize | |
- (void) beginRetryTimer |
- (void) connection: | (NSURLConnection *) | connection | |
didFailWithError: | (NSError *) | error | |
- (NSString *) createTempDownloadFilePathForPath: | (NSString *) | targetPath |
- (void) destroyRetryTimer |
- (void) failToBeginFetchWithError: | (NSError *) | error |
- (NSFileManager *) fileManager |
- (void) handleCookiesForResponse: | (NSURLResponse *) | response |
- (void) invokeFetchCallback: | (SEL) | sel | |
target: | (id) | target | |
data: | (NSData *) | data | |
error: | (NSError *) | error | |
- (void) invokeFetchCallbacksWithData: | (NSData *) | data | |
error: | (NSError *) | error | |
- (void) logNowWithError: | (NSError *) | error |
- (void) primeRetryTimerWithNewTimeInterval: | (NSTimeInterval) | secs |
- (void) releaseCallbacks |
- (void) retryFetch |
- (void) retryTimerFired: | (NSTimer *) | timer |
- (void) sendStopNotificationIfNeeded |
- (BOOL) shouldReleaseCallbacksUponCompletion |
- (BOOL) shouldRetryNowForStatus: | (NSInteger) | status | |
error: | (NSError *) | error | |
- (void) stopFetchReleasingCallbacks: | (BOOL) | shouldReleaseCallbacks |
- (id<GTMCookieStorageProtocol>) cookieStorage [read, write, retain] |
- (NSData*) downloadedData [read, write, retain] |
- (NSString*) temporaryDownloadPath [read, write, copy] |