PATH
Mac OS X Documentation >
Foundation Reference: Java
[Previous] [Interface List]
Adopted by:
NSURL
Declared in: Foundation/NSURLHandle.h
Interface
Description
This protocol defines the interface for clients to NSURLHandle.
Interface
Methods
- (void)URLHandleResourceDidBeginLoading:(NSURLHandle
*)sender
Sent when the URL handle begins
loading resource data.
- (void)URLHandleResourceDidCancelLoading:(NSURLHandle
*)sender
Sent when the URL handle cancels
loading resource data.
- (void)URLHandleResourceDidFinishLoading:(NSURLHandle
*)sender
Sent when the URL handle finishes
loading resource data.
- (void)URLHandle:(NSURLHandle *)sender resourceDataDidBecomeAvailable:(NSData
*)newBytes
Sent periodically when new
resource data becomes available from the URL handle.
- (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]