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,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.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Constructor Description NSURLProtocolClientAdapter() -
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)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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
NSURLProtocolClientAdapter
public NSURLProtocolClientAdapter()
-
-
Method Details
-
wasRedirectedToRequest
public void wasRedirectedToRequest(NSURLProtocol protocol, NSURLRequest request, NSURLResponse redirectResponse)- Specified by:
wasRedirectedToRequestin interfaceNSURLProtocolClient
-
cachedResponseIsValid
- Specified by:
cachedResponseIsValidin interfaceNSURLProtocolClient
-
didReceiveResponse
public void didReceiveResponse(NSURLProtocol protocol, NSURLResponse response, NSURLCacheStoragePolicy policy)- Specified by:
didReceiveResponsein interfaceNSURLProtocolClient
-
didLoadData
- Specified by:
didLoadDatain interfaceNSURLProtocolClient
-
didFinishLoading
- Specified by:
didFinishLoadingin interfaceNSURLProtocolClient
-
didFail
- Specified by:
didFailin interfaceNSURLProtocolClient
-
didReceiveAuthenticationChallenge
public void didReceiveAuthenticationChallenge(NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)- Specified by:
didReceiveAuthenticationChallengein interfaceNSURLProtocolClient
-
didCancelAuthenticationChallenge
public void didCancelAuthenticationChallenge(NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)- Specified by:
didCancelAuthenticationChallengein interfaceNSURLProtocolClient
-