Developer Documentation
PATH  Mac OS X Documentation > Foundation Reference: Java


[Previous] [Interface List]

NSURLHandleClient


Adopted by: NSURL
Declared in: Foundation/NSURLHandle.h


Interface Description


This protocol defines the interface for clients to NSURLHandle.



Interface Methods



URLHandleResourceDidBeginLoading:

- (void)URLHandleResourceDidBeginLoading:(NSURLHandle *)sender

Sent when the URL handle begins loading resource data.

URLHandleResourceDidCancelLoading:

- (void)URLHandleResourceDidCancelLoading:(NSURLHandle *)sender

Sent when the URL handle cancels loading resource data.

URLHandleResourceDidFinishLoading:

- (void)URLHandleResourceDidFinishLoading:(NSURLHandle *)sender

Sent when the URL handle finishes loading resource data.

URLHandle:resourceDataDidBecomeAvailable:

- (void)URLHandle:(NSURLHandle *)sender resourceDataDidBecomeAvailable:(NSData *)newBytes

Sent periodically when new resource data becomes available from the URL handle.

URLHandle:resourceDidFailLoadingWithReason:

- (void)URLHandle:(NSURLHandle *)sender resourceDidFailLoadingWithReason:(NSString *)reason

Sent when the URL handle fails to load resource data for some reason other than being cancelled. reason is a string describing why the load failed.


[Previous]