public interface NSURLProtocolClientProtocol extends NSObjectProtocol
NSURLProtocolClientProtocol
protocol.
See the protocol documentation at the Apple's site: NSURLProtocolClientProtocolModifier and Type | Method and Description |
---|---|
void |
URLProtocol_cachedResponseIsValid(NSURLProtocol protocol,
NSCachedURLResponse cachedResponse)
This method represents the
URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol. |
void |
URLProtocol_didCancelAuthenticationChallenge(NSURLProtocol protocol,
NSURLAuthenticationChallenge challenge)
This method represents the
URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol. |
void |
URLProtocol_didFailWithError(NSURLProtocol protocol,
NSError error)
This method represents the
URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol. |
void |
URLProtocol_didLoadData(NSURLProtocol protocol,
NSData data)
This method represents the
URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol. |
void |
URLProtocol_didReceiveAuthenticationChallenge(NSURLProtocol protocol,
NSURLAuthenticationChallenge challenge)
This method represents the
URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol. |
void |
URLProtocol_didReceiveResponse_cacheStoragePolicy(NSURLProtocol protocol,
NSURLResponse response,
NSURLCacheStoragePolicy policy)
This method represents the
URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol. |
void |
URLProtocol_wasRedirectedToRequest_redirectResponse(NSURLProtocol protocol,
NSURLRequest request,
NSURLResponse redirectResponse)
This method represents the
URLProtocol() method of the NSURLProtocolClientProtocol Objective-C protocol. |
void |
URLProtocolDidFinishLoading(NSURLProtocol protocol) |
_class, autorelease, conformsToProtocol, description, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, release, respondsToSelector, retain, retainCount, self, superclass, zone
void URLProtocol_didFailWithError(NSURLProtocol protocol, NSError error)
URLProtocol()
method of the NSURLProtocolClientProtocol Objective-C protocol.protocol
- error
- void URLProtocolDidFinishLoading(NSURLProtocol protocol)
void URLProtocol_didReceiveResponse_cacheStoragePolicy(NSURLProtocol protocol, NSURLResponse response, NSURLCacheStoragePolicy policy)
URLProtocol()
method of the NSURLProtocolClientProtocol Objective-C protocol.protocol
- response
- policy
- void URLProtocol_wasRedirectedToRequest_redirectResponse(NSURLProtocol protocol, NSURLRequest request, NSURLResponse redirectResponse)
URLProtocol()
method of the NSURLProtocolClientProtocol Objective-C protocol.protocol
- request
- redirectResponse
- void URLProtocol_didLoadData(NSURLProtocol protocol, NSData data)
URLProtocol()
method of the NSURLProtocolClientProtocol Objective-C protocol.protocol
- data
- void URLProtocol_didReceiveAuthenticationChallenge(NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)
URLProtocol()
method of the NSURLProtocolClientProtocol Objective-C protocol.protocol
- challenge
- void URLProtocol_cachedResponseIsValid(NSURLProtocol protocol, NSCachedURLResponse cachedResponse)
URLProtocol()
method of the NSURLProtocolClientProtocol Objective-C protocol.protocol
- cachedResponse
- void URLProtocol_didCancelAuthenticationChallenge(NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)
URLProtocol()
method of the NSURLProtocolClientProtocol Objective-C protocol.protocol
- challenge
-