Package org.robovm.apple.foundation
Class NSURLProtocolClientAdapter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSURLProtocolClientAdapter
-
- All Implemented Interfaces:
NSObjectProtocol
,NSURLProtocolClient
,org.robovm.objc.ObjCProtocol
public class NSURLProtocolClientAdapter extends NSObject implements NSURLProtocolClient
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Constructor Description NSURLProtocolClientAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cachedResponseIsValid(NSURLProtocol protocol, NSCachedURLResponse cachedResponse)
void
didCancelAuthenticationChallenge(NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)
void
didFail(NSURLProtocol protocol, NSError error)
void
didFinishLoading(NSURLProtocol protocol)
void
didLoadData(NSURLProtocol protocol, NSData data)
void
didReceiveAuthenticationChallenge(NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)
void
didReceiveResponse(NSURLProtocol protocol, NSURLResponse response, NSURLCacheStoragePolicy policy)
void
wasRedirectedToRequest(NSURLProtocol protocol, NSURLRequest request, NSURLResponse redirectResponse)
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Method Detail
-
wasRedirectedToRequest
public void wasRedirectedToRequest(NSURLProtocol protocol, NSURLRequest request, NSURLResponse redirectResponse)
- Specified by:
wasRedirectedToRequest
in interfaceNSURLProtocolClient
-
cachedResponseIsValid
public void cachedResponseIsValid(NSURLProtocol protocol, NSCachedURLResponse cachedResponse)
- Specified by:
cachedResponseIsValid
in interfaceNSURLProtocolClient
-
didReceiveResponse
public void didReceiveResponse(NSURLProtocol protocol, NSURLResponse response, NSURLCacheStoragePolicy policy)
- Specified by:
didReceiveResponse
in interfaceNSURLProtocolClient
-
didLoadData
public void didLoadData(NSURLProtocol protocol, NSData data)
- Specified by:
didLoadData
in interfaceNSURLProtocolClient
-
didFinishLoading
public void didFinishLoading(NSURLProtocol protocol)
- Specified by:
didFinishLoading
in interfaceNSURLProtocolClient
-
didFail
public void didFail(NSURLProtocol protocol, NSError error)
- Specified by:
didFail
in interfaceNSURLProtocolClient
-
didReceiveAuthenticationChallenge
public void didReceiveAuthenticationChallenge(NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)
- Specified by:
didReceiveAuthenticationChallenge
in interfaceNSURLProtocolClient
-
didCancelAuthenticationChallenge
public void didCancelAuthenticationChallenge(NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)
- Specified by:
didCancelAuthenticationChallenge
in interfaceNSURLProtocolClient
-
-