[Previous] [Up] [Next]

NSURLHandle

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSURLHandle

NSURLHandle

Declared in: Foundation/NSURLHandle.h

Inherits from: NSObject



URLHandleClassForURL:

+ (Class) URLHandleClassForURL: (NSURL*)anURL;

cachedHandleForURL:

+ (NSURLHandle*) cachedHandleForURL: (NSURL*)anURL;

canInitWithURL:

+ (BOOL) canInitWithURL: (NSURL*)anURL;

registerURLHandleClass:

+ (void) registerURLHandleClass: (Class)anURLHandleSubclass;

addClient:

- (void) addClient: (id<NSURLHandleClient>)client;

availableResourceData

- (NSData*) availableResourceData;

backgroundLoadDidFailWithReason:

- (void) backgroundLoadDidFailWithReason: (NSString*)reason;

beginLoadInBackground

- (void) beginLoadInBackground;

cancelLoadInBackground

- (void) cancelLoadInBackground;

didLoadBytes:loadComplete:

- (void) didLoadBytes: (NSData*)newBytes loadComplete: (BOOL)yorn;

endLoadInBackground

- (void) endLoadInBackground;

failureReason

- (NSString*) failureReason;

flushCachedData

- (void) flushCachedData;

loadInBackground

- (void) loadInBackground;

loadInForeground

- (NSData*) loadInForeground;

propertyForKey:

- (id) propertyForKey: (NSString*)propertyKey;

propertyForKeyIfAvailable:

- (id) propertyForKeyIfAvailable: (NSString*)propertyKey;

removeClient:

- (void) removeClient: (id<NSURLHandleClient>)client;

resourceData

- (NSData*) resourceData;

status

- (NSURLHandleStatus) status;

writeData:

- (BOOL) writeData: (NSData*)data;

writeProperty:

- (BOOL) writeProperty: (id)propertyValue;