org.rococoa.cocoa.foundation.protocols
Interface NSURLProtocolClient

All Superinterfaces:
NSObject, ObjCObject

public interface NSURLProtocolClient
extends ObjCObject, NSObject


Nested Class Summary
static class NSURLProtocolClient._class_
           
static interface NSURLProtocolClient._static_
           
 
Field Summary
static NSURLProtocolClient._class_ _NSCLASS_
           
 
Method Summary
 void URLProtocol_cachedResponseIsValid(NSURLProtocol protocol, NSCachedURLResponse cachedResponse)
           
 void URLProtocol_didCancelAuthenticationChallenge(NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)
           
 void URLProtocol_didFailWithError(NSURLProtocol protocol, NSError error)
           
 void URLProtocol_didLoadData(NSURLProtocol protocol, NSData data)
           
 void URLProtocol_didReceiveAuthenticationChallenge(NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)
           
 void URLProtocol_wasRedirectedToRequest_redirectResponse(NSURLProtocol protocol, NSURLRequest request, NSURLResponse redirectResponse)
           
 void URLProtocolDidFinishLoading(NSURLProtocol protocol)
           
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 
Methods inherited from interface org.rococoa.ObjCObject
id
 

Field Detail

_NSCLASS_

static final NSURLProtocolClient._class_ _NSCLASS_
Method Detail

URLProtocol_wasRedirectedToRequest_redirectResponse

void URLProtocol_wasRedirectedToRequest_redirectResponse(NSURLProtocol protocol,
                                                         NSURLRequest request,
                                                         NSURLResponse redirectResponse)
Parameters:
URLProtocol - the NSURLProtocol object sending the message.
request - the NSURLRequest to which the protocol implementation
has redirected.
Original signature : -(void)URLProtocol:(NSURLProtocol*) wasRedirectedToRequest:(NSURLRequest*) redirectResponse:(NSURLResponse*)
native declaration : NSURLProtocol.h:76

URLProtocol_cachedResponseIsValid

void URLProtocol_cachedResponseIsValid(NSURLProtocol protocol,
                                       NSCachedURLResponse cachedResponse)
Parameters:
URLProtocol - the NSURLProtocol object sending the message.
cachedResponse - the NSCachedURLResponse object that has
examined and is valid.
Original signature : -(void)URLProtocol:(NSURLProtocol*) cachedResponseIsValid:(NSCachedURLResponse*)
native declaration : NSURLProtocol.h:87

URLProtocol_didLoadData

void URLProtocol_didLoadData(NSURLProtocol protocol,
                             NSData data)
Parameters:
URLProtocol - the NSURLProtocol object sending the message.
data - URL load data being made available.
Original signature : -(void)URLProtocol:(NSURLProtocol*) didLoadData:(NSData*)
native declaration : NSURLProtocol.h:112

URLProtocolDidFinishLoading

void URLProtocolDidFinishLoading(NSURLProtocol protocol)
Parameters:
URLProtocol - the NSURLProtocol object sending the message.
Original signature : -(void)URLProtocolDidFinishLoading:(NSURLProtocol*)
native declaration : NSURLProtocol.h:120

URLProtocol_didFailWithError

void URLProtocol_didFailWithError(NSURLProtocol protocol,
                                  NSError error)
Parameters:
URLProtocol - the NSURLProtocol object sending the message.
error - The error that caused the load to fail.
Original signature : -(void)URLProtocol:(NSURLProtocol*) didFailWithError:(NSError*)
native declaration : NSURLProtocol.h:129

URLProtocol_didReceiveAuthenticationChallenge

void URLProtocol_didReceiveAuthenticationChallenge(NSURLProtocol protocol,
                                                   NSURLAuthenticationChallenge challenge)
Parameters:
protocol - The protocol object requesting authentication.
challenge - The authentication challenge.

URLProtocol_didCancelAuthenticationChallenge

void URLProtocol_didCancelAuthenticationChallenge(NSURLProtocol protocol,
                                                  NSURLAuthenticationChallenge challenge)
Parameters:
protocol - The protocol object cancelling authentication.
challenge - The authentication challenge.
Original signature : -(void)URLProtocol:(NSURLProtocol*) didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge*)
native declaration : NSURLProtocol.h:149


Copyright © 2009. All Rights Reserved.