< Previous PageNext Page > Hide TOC

Deprecated NSURLHandleClient Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in Mac OS X v10.4 and later

URLHandle:resourceDataDidBecomeAvailable:

Sent periodically by an URL handle when new resource data becomes available. (Deprecated in Mac OS X v10.4 and later. Use NSURLConnection or NSURLDownload instead; see URL Loading System.)

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

Parameters
sender

The URL handle sending the message.

newBytes

The newly available data.

Availability
Declared In
NSURLHandle.h

URLHandle:resourceDidFailLoadingWithReason:

Sent when the URL handle failed to load resource data for some reason other than being canceled. (Deprecated in Mac OS X v10.4 and later. Use NSURLConnection or NSURLDownload instead; see URL Loading System.)

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

Parameters
sender

The URL handle sending the message.

reason

A human-readable, localized string describing why the load failed.

Availability
Declared In
NSURLHandle.h

URLHandleResourceDidBeginLoading:

Sent when an URL handle begins loading resource data. (Deprecated in Mac OS X v10.4 and later. Use NSURLConnection or NSURLDownload instead; see URL Loading System.)

- (void)URLHandleResourceDidBeginLoading:(NSURLHandle *)sender

Parameters
sender

The URL handle sending the message.

Availability
Declared In
NSURLHandle.h

URLHandleResourceDidCancelLoading:

Sent when an URL handle has canceled loading resource data in response to a programmatic request. (Deprecated in Mac OS X v10.4 and later. Use NSURLConnection or NSURLDownload instead; see URL Loading System.)

- (void)URLHandleResourceDidCancelLoading:(NSURLHandle *)sender

Parameters
sender

The URL handle sending the message.

Availability
Declared In
NSURLHandle.h

URLHandleResourceDidFinishLoading:

Sent when an URL handle finishes loading resource data. (Deprecated in Mac OS X v10.4 and later. Use NSURLConnection or NSURLDownload instead; see URL Loading System.)

- (void)URLHandleResourceDidFinishLoading:(NSURLHandle *)sender

Parameters
sender

The URL handle sending the message.

Availability
Declared In
NSURLHandle.h

< Previous PageNext Page > Hide TOC


© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-05-23)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.