BBGMultiAccountManager
 All Classes Files Functions Variables Enumerator Properties Defines
Public Member Functions | Static Public Member Functions | Protected Attributes | Properties
GTMHTTPFetcher Class Reference

#import <GTMHTTPFetcher.h>

List of all members.

Public Member Functions

(id) - initWithRequest:
(BOOL) - beginFetchWithDelegate:didFinishSelector:
(BOOL) - isFetching
(void) - stopFetching
(void) - setProperty:forKey:
(id) - propertyForKey:
(void) - addPropertiesFromDictionary:
(void) - setCommentWithFormat:
(void) - waitForCompletionWithTimeout:

Static Public Member Functions

(GTMHTTPFetcher *) + fetcherWithRequest:
(GTMHTTPFetcher *) + fetcherWithURL:
(GTMHTTPFetcher *) + fetcherWithURLString:
(id< GTMCookieStorageProtocol >) + staticCookieStorage
(BOOL) + doesSupportSentDataCallback
(Class) + connectionClass
(void) + setConnectionClass:

Protected Attributes

NSMutableURLRequest * request_
NSURLConnection * connection_
NSMutableData * downloadedData_
NSString * downloadPath_
NSString * temporaryDownloadPath_
NSFileHandle * downloadFileHandle_
unsigned long long downloadedLength_
NSURLCredential * credential_
NSURLCredential * proxyCredential_
NSData * postData_
NSInputStream * postStream_
NSMutableData * loggedStreamData_
NSURLResponse * response_
id delegate_
SEL finishedSel_
SEL sentDataSel_
SEL receivedDataSel_
id completionPlaceholder_
id receivedDataPlaceholder_
id sentDataPlaceholder_
id retryPlaceholder_
BOOL hasConnectionEnded_
BOOL isCancellingChallenge_
BOOL isStopNotificationNeeded_
BOOL shouldFetchInBackground_
id userData_
NSMutableDictionary * properties_
NSArray * runLoopModes_
id< GTMHTTPFetchHistoryProtocolfetchHistory_
NSInteger cookieStorageMethod_
id< GTMCookieStorageProtocolcookieStorage_
id
< GTMFetcherAuthorizationProtocol
authorizer_
id< GTMHTTPFetcherServiceProtocolservice_
NSString * serviceHost_
NSInteger servicePriority_
NSThread * thread_
BOOL isRetryEnabled_
SEL retrySel_
NSTimer * retryTimer_
NSUInteger retryCount_
NSTimeInterval maxRetryInterval_
NSTimeInterval minRetryInterval_
NSTimeInterval retryFactor_
NSTimeInterval lastRetryInterval_
BOOL hasAttemptedAuthRefresh_
NSString * comment_
NSString * log_

Properties

NSMutableURLRequest * mutableRequest
NSURLCredential * credential
NSURLCredential * proxyCredential
NSData * postData
NSInputStream * postStream
NSInteger cookieStorageMethod
id
< GTMFetcherAuthorizationProtocol
authorizer
id< GTMHTTPFetcherServiceProtocolservice
NSString * serviceHost
NSInteger servicePriority
NSThread * thread
id delegate
BOOL shouldFetchInBackground
SEL sentDataSelector
SEL receivedDataSelector
BOOL retryEnabled
SEL retrySelector
NSTimeInterval maxRetryInterval
NSTimeInterval minRetryInterval
double retryFactor
NSUInteger retryCount
NSTimeInterval nextRetryInterval
NSInteger statusCode
NSDictionary * responseHeaders
NSURLResponse * response
unsigned long long downloadedLength
NSData * downloadedData
NSString * downloadPath
NSFileHandle * downloadFileHandle
id< GTMHTTPFetchHistoryProtocolfetchHistory
id userData
NSMutableDictionary * properties
NSString * comment
NSString * log
NSArray * runLoopModes

Member Function Documentation

- (void) addPropertiesFromDictionary: (NSDictionary *)  dict
- (BOOL) beginFetchWithDelegate: (id)  delegate
didFinishSelector: (SEL)  finishedSEL 
+ (Class) connectionClass
+ (GTMHTTPFetcher *) fetcherWithRequest: (NSURLRequest *)  request
+ (GTMHTTPFetcher *) fetcherWithURL: (NSURL *)  requestURL
+ (GTMHTTPFetcher *) fetcherWithURLString: (NSString *)  requestURLString
- (id) initWithRequest: (NSURLRequest *)  request
- (BOOL) isFetching
- (id) propertyForKey: (NSString *)  key
- (void) setCommentWithFormat: (id)  format
,   ... 
+ (void) setConnectionClass: (Class)  theClass
- (void) setProperty: (id)  obj
forKey: (NSString *)  key 
- (void) stopFetching
- (void) waitForCompletionWithTimeout: (NSTimeInterval)  timeoutInSeconds

Member Data Documentation

- (NSString*) comment_ [protected]
- (id) completionPlaceholder_ [protected]
- (NSURLConnection*) connection_ [protected]
- (NSInteger) cookieStorageMethod_ [protected]
- (NSURLCredential*) credential_ [protected]
- (id) delegate_ [protected]
- (NSMutableData*) downloadedData_ [protected]
- (unsigned long long) downloadedLength_ [protected]
- (NSFileHandle*) downloadFileHandle_ [protected]
- (NSString*) downloadPath_ [protected]
- (SEL) finishedSel_ [protected]
- (BOOL) hasAttemptedAuthRefresh_ [protected]
- (BOOL) hasConnectionEnded_ [protected]
- (BOOL) isCancellingChallenge_ [protected]
- (BOOL) isRetryEnabled_ [protected]
- (BOOL) isStopNotificationNeeded_ [protected]
- (NSTimeInterval) lastRetryInterval_ [protected]
- (NSString*) log_ [protected]
- (NSMutableData*) loggedStreamData_ [protected]
- (NSTimeInterval) maxRetryInterval_ [protected]
- (NSTimeInterval) minRetryInterval_ [protected]
- (NSData*) postData_ [protected]
- (NSInputStream*) postStream_ [protected]
- (NSMutableDictionary*) properties_ [protected]
- (NSURLCredential*) proxyCredential_ [protected]
- (id) receivedDataPlaceholder_ [protected]
- (SEL) receivedDataSel_ [protected]
- (NSMutableURLRequest*) request_ [protected]
- (NSURLResponse*) response_ [protected]
- (NSUInteger) retryCount_ [protected]
- (NSTimeInterval) retryFactor_ [protected]
- (id) retryPlaceholder_ [protected]
- (SEL) retrySel_ [protected]
- (NSTimer*) retryTimer_ [protected]
- (NSArray*) runLoopModes_ [protected]
- (id) sentDataPlaceholder_ [protected]
- (SEL) sentDataSel_ [protected]
- (NSString*) serviceHost_ [protected]
- (NSInteger) servicePriority_ [protected]
- (BOOL) shouldFetchInBackground_ [protected]
- (NSString*) temporaryDownloadPath_ [protected]
- (NSThread*) thread_ [protected]
- (id) userData_ [protected]

Property Documentation

- (id<GTMFetcherAuthorizationProtocol>) authorizer [read, write, retain]
- (NSString*) comment [read, write, copy]
- (NSInteger) cookieStorageMethod [read, write, assign]
- (NSURLCredential*) credential [read, write, retain]
- (id) delegate [read, write, retain]
- (NSData*) downloadedData [read, retain]
- (unsigned long long) downloadedLength [read, assign]
- (NSFileHandle*) downloadFileHandle [read, write, retain]
- (NSString*) downloadPath [read, write, copy]
- (id< GTMHTTPFetchHistoryProtocol >) fetchHistory [read, write, retain]
- (NSString*) log [read, write, copy]
- (NSTimeInterval) maxRetryInterval [read, write, assign]
- (double) minRetryInterval [read, write, assign]
- (NSMutableURLRequest*) mutableRequest [read, write, retain]
- (NSTimeInterval) nextRetryInterval [read, assign]
- (NSData*) postData [read, write, retain]
- (NSInputStream*) postStream [read, write, retain]
- (NSMutableDictionary *) properties [read, write, copy]
- (NSURLCredential*) proxyCredential [read, write, retain]
- (SEL) receivedDataSelector [read, write, assign]
- (NSURLResponse*) response [read, write, retain]
- (NSDictionary *) responseHeaders [read, retain]
- (NSUInteger) retryCount [read, assign]
- (BOOL) retryEnabled [read, write, assign]
- (double) retryFactor [read, write, assign]
- (SEL) retrySelector [read, write, assign]
- (NSArray*) runLoopModes [read, write, retain]
- (SEL) sentDataSelector [read, write, assign]
- (id<GTMHTTPFetcherServiceProtocol>) service [read, write, retain]
- (NSString*) serviceHost [read, write, copy]
- (NSInteger) servicePriority [read, write, assign]
- (BOOL) shouldFetchInBackground [read, write, assign]
- (NSInteger) statusCode [read, assign]
- (NSThread*) thread [read, write, retain]
- (id) userData [read, write, retain]

The documentation for this class was generated from the following files: