Package org.robovm.apple.foundation
Class NSURLCredentialStorage
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSURLCredentialStorage
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class NSURLCredentialStorage extends NSObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSURLCredentialStorage.Notifications
static class
NSURLCredentialStorage.NSURLCredentialStoragePtr
-
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 Modifier Constructor Description NSURLCredentialStorage()
protected
NSURLCredentialStorage(NSObject.Handle h, long handle)
protected
NSURLCredentialStorage(NSObject.SkipInit skipInit)
-
Method Summary
-
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
-
-
-
-
Constructor Detail
-
NSURLCredentialStorage
public NSURLCredentialStorage()
-
NSURLCredentialStorage
protected NSURLCredentialStorage(NSObject.Handle h, long handle)
-
NSURLCredentialStorage
protected NSURLCredentialStorage(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getSharedCredentialStorage
public static NSURLCredentialStorage getSharedCredentialStorage()
-
getAllCredentials
public java.util.Map<java.lang.String,NSURLCredential> getAllCredentials()
-
ChangedNotification
public static NSString ChangedNotification()
-
getCredentials
public java.util.Map<java.lang.String,NSURLCredential> getCredentials(NSURLProtectionSpace space)
-
setCredential
public void setCredential(NSURLCredential credential, NSURLProtectionSpace space)
-
removeCredential
public void removeCredential(NSURLCredential credential, NSURLProtectionSpace space)
-
removeCredential
public void removeCredential(NSURLCredential credential, NSURLProtectionSpace space, NSURLCredentialStorageRemovalOptions options)
- Since:
- Available in iOS 7.0 and later.
-
getDefaultCredential
public NSURLCredential getDefaultCredential(NSURLProtectionSpace space)
-
setDefaultCredential
public void setDefaultCredential(NSURLCredential credential, NSURLProtectionSpace space)
-
getCredentials
public void getCredentials(NSURLProtectionSpace protectionSpace, NSURLSessionTask task, org.robovm.objc.block.VoidBlock1<NSDictionary<NSString,NSURLCredential>> completionHandler)
- Since:
- Available in iOS 8.0 and later.
-
setCredential
public void setCredential(NSURLCredential credential, NSURLProtectionSpace protectionSpace, NSURLSessionTask task)
- Since:
- Available in iOS 8.0 and later.
-
removeCredential
public void removeCredential(NSURLCredential credential, NSURLProtectionSpace protectionSpace, NSURLCredentialStorageRemovalOptions options, NSURLSessionTask task)
- Since:
- Available in iOS 8.0 and later.
-
getDefaultCredential
public void getDefaultCredential(NSURLProtectionSpace space, NSURLSessionTask task, org.robovm.objc.block.VoidBlock1<NSURLCredential> completionHandler)
- Since:
- Available in iOS 8.0 and later.
-
setDefaultCredential
public void setDefaultCredential(NSURLCredential credential, NSURLProtectionSpace protectionSpace, NSURLSessionTask task)
- Since:
- Available in iOS 8.0 and later.
-
-