Package org.robovm.apple.foundation
Interface NSURLProtocolClient
- All Superinterfaces:
NSObjectProtocol,ObjCProtocol
- All Known Implementing Classes:
NSURLProtocolClientAdapter
public interface NSURLProtocolClient extends NSObjectProtocol
-
Method Summary
Modifier and Type Method Description voidcachedResponseIsValid(NSURLProtocol protocol, NSCachedURLResponse cachedResponse)voiddidCancelAuthenticationChallenge(NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)voiddidFail(NSURLProtocol protocol, NSError error)voiddidFinishLoading(NSURLProtocol protocol)voiddidLoadData(NSURLProtocol protocol, NSData data)voiddidReceiveAuthenticationChallenge(NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)voiddidReceiveResponse(NSURLProtocol protocol, NSURLResponse response, NSURLCacheStoragePolicy policy)voidwasRedirectedToRequest(NSURLProtocol protocol, NSURLRequest request, NSURLResponse redirectResponse)
-
Method Details
-
wasRedirectedToRequest
void wasRedirectedToRequest(NSURLProtocol protocol, NSURLRequest request, NSURLResponse redirectResponse) -
cachedResponseIsValid
-
didReceiveResponse
void didReceiveResponse(NSURLProtocol protocol, NSURLResponse response, NSURLCacheStoragePolicy policy) -
didLoadData
-
didFinishLoading
-
didFail
-
didReceiveAuthenticationChallenge
void didReceiveAuthenticationChallenge(NSURLProtocol protocol, NSURLAuthenticationChallenge challenge) -
didCancelAuthenticationChallenge
void didCancelAuthenticationChallenge(NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)
-