Package org.robovm.apple.foundation
Class NSURLConnectionDelegateAdapter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSURLConnectionDelegateAdapter
-
- All Implemented Interfaces:
NSObjectProtocol
,NSURLConnectionDelegate
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
NSURLConnectionDataDelegateAdapter
,NSURLConnectionDownloadDelegateAdapter
public class NSURLConnectionDelegateAdapter extends NSObject implements NSURLConnectionDelegate
-
-
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 NSURLConnectionDelegateAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
canAuthenticateAgainstProtectionSpace(NSURLConnection connection, NSURLProtectionSpace protectionSpace)
Deprecated.Deprecated in iOS 8.0.void
didCancelAuthenticationChallenge(NSURLConnection connection, NSURLAuthenticationChallenge challenge)
Deprecated.Deprecated in iOS 8.0.void
didFail(NSURLConnection connection, NSError error)
void
didReceiveAuthenticationChallenge(NSURLConnection connection, NSURLAuthenticationChallenge challenge)
Deprecated.Deprecated in iOS 8.0.boolean
shouldUseCredentialStorage(NSURLConnection connection)
void
willSendRequestForAuthenticationChallenge(NSURLConnection connection, NSURLAuthenticationChallenge challenge)
-
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
-
didFail
public void didFail(NSURLConnection connection, NSError error)
- Specified by:
didFail
in interfaceNSURLConnectionDelegate
-
shouldUseCredentialStorage
public boolean shouldUseCredentialStorage(NSURLConnection connection)
- Specified by:
shouldUseCredentialStorage
in interfaceNSURLConnectionDelegate
-
willSendRequestForAuthenticationChallenge
public void willSendRequestForAuthenticationChallenge(NSURLConnection connection, NSURLAuthenticationChallenge challenge)
- Specified by:
willSendRequestForAuthenticationChallenge
in interfaceNSURLConnectionDelegate
-
canAuthenticateAgainstProtectionSpace
@Deprecated public boolean canAuthenticateAgainstProtectionSpace(NSURLConnection connection, NSURLProtectionSpace protectionSpace)
Deprecated.Deprecated in iOS 8.0. Use -connection:willSendRequestForAuthenticationChallenge: instead.- Specified by:
canAuthenticateAgainstProtectionSpace
in interfaceNSURLConnectionDelegate
- Since:
- Available in iOS 3.0 and later.
-
didReceiveAuthenticationChallenge
@Deprecated public void didReceiveAuthenticationChallenge(NSURLConnection connection, NSURLAuthenticationChallenge challenge)
Deprecated.Deprecated in iOS 8.0. Use -connection:willSendRequestForAuthenticationChallenge: instead.- Specified by:
didReceiveAuthenticationChallenge
in interfaceNSURLConnectionDelegate
- Since:
- Available in iOS 2.0 and later.
-
didCancelAuthenticationChallenge
@Deprecated public void didCancelAuthenticationChallenge(NSURLConnection connection, NSURLAuthenticationChallenge challenge)
Deprecated.Deprecated in iOS 8.0. Use -connection:willSendRequestForAuthenticationChallenge: instead.- Specified by:
didCancelAuthenticationChallenge
in interfaceNSURLConnectionDelegate
- Since:
- Available in iOS 2.0 and later.
-
-