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


[Previous] [Interface List] [Next]

NSURLClient


Adopted by: NSObject (informal protocol)
Declared in: Foundation/NSURL.h


Interface Description


Description forthcoming.

- (void)URL:(NSURL *)sender resourceDataDidBecomeAvailable:(NSData *)newBytes; - (void)URLResourceDidFinishLoading:(NSURL *)sender; - (void)URLResourceDidCancelLoading:(NSURL *)sender; - (void)URL:(NSURL *)sender resourceDidFailLoadingWithReason:(NSString *)reason;



Interface Methods



URLResourceDidCancelLoading:

- (void)URLResourceDidCancelLoading:(NSURL *)sender

Notifies the URL client that the NSURL sender stopped loading its resource data because loading was cancelled.

URLResourceDidFinishLoading:

- (void)URLResourceDidFinishLoading:(NSURL *)sender

Notifies the URL client that the NSURL sender has finished loading its resource data.

URL:resourceDataDidBecomeAvailable:

- (void)URL:(NSURL *)sender resourceDataDidBecomeAvailable:(NSData *)newBytes

Notifies the URL client that the NSURL sender has loaded new data, available in newBytes.

URL:resourceDidFailLoadingWithReason:

- (void)URL:(NSURL *)sender resourceDidFailLoadingWithReason:(NSString *)reason

Notifies the URL client that the NSURL sender failed to load its resource data because of reason.


[Previous] [Next]