Package org.robovm.apple.foundation
Class NSURLProtectionSpace
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSURLProtectionSpace
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class NSURLProtectionSpace extends NSObject implements NSSecureCoding
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSURLProtectionSpace.NSURLProtectionSpacePtr
-
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 NSURLProtectionSpace()
NSURLProtectionSpace(NSCoder decoder)
protected
NSURLProtectionSpace(NSObject.Handle h, long handle)
protected
NSURLProtectionSpace(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NSURLProtectionSpace
create(java.lang.String host, long port, NSURLProtectionSpaceProtocol protocol, java.lang.String realm, NSURLAuthenticationMethod authenticationMethod)
static NSURLProtectionSpace
createProxy(java.lang.String host, long port, NSURLProtectionSpaceProxyType type, java.lang.String realm, NSURLAuthenticationMethod authenticationMethod)
void
encode(NSCoder coder)
NSURLAuthenticationMethod
getAuthenticationMethod()
java.util.List<java.lang.String>
getDistinguishedNames()
java.lang.String
getHost()
long
getPort()
NSURLProtectionSpaceProtocol
getProtocol()
NSURLProtectionSpaceProxyType
getProxyType()
java.lang.String
getRealm()
SecTrust
getServerTrust()
protected long
init(java.lang.String host, long port, NSURLProtectionSpaceProtocol protocol, java.lang.String realm, NSURLAuthenticationMethod authenticationMethod)
protected long
init(java.lang.String host, long port, NSURLProtectionSpaceProxyType type, java.lang.String realm, NSURLAuthenticationMethod authenticationMethod)
protected long
init(NSCoder decoder)
boolean
isProxy()
boolean
receivesCredentialSecurely()
static boolean
supportsSecureCoding()
-
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
-
NSURLProtectionSpace
public NSURLProtectionSpace()
-
NSURLProtectionSpace
protected NSURLProtectionSpace(NSObject.Handle h, long handle)
-
NSURLProtectionSpace
protected NSURLProtectionSpace(NSObject.SkipInit skipInit)
-
NSURLProtectionSpace
public NSURLProtectionSpace(NSCoder decoder)
-
-
Method Detail
-
getRealm
public java.lang.String getRealm()
-
receivesCredentialSecurely
public boolean receivesCredentialSecurely()
-
isProxy
public boolean isProxy()
-
getHost
public java.lang.String getHost()
-
getPort
public long getPort()
-
getProxyType
public NSURLProtectionSpaceProxyType getProxyType()
-
getProtocol
public NSURLProtectionSpaceProtocol getProtocol()
-
getAuthenticationMethod
public NSURLAuthenticationMethod getAuthenticationMethod()
-
getDistinguishedNames
public java.util.List<java.lang.String> getDistinguishedNames()
- Since:
- Available in iOS 3.0 and later.
-
getServerTrust
public SecTrust getServerTrust()
- Since:
- Available in iOS 3.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
create
public static NSURLProtectionSpace create(java.lang.String host, long port, NSURLProtectionSpaceProtocol protocol, java.lang.String realm, NSURLAuthenticationMethod authenticationMethod)
-
createProxy
public static NSURLProtectionSpace createProxy(java.lang.String host, long port, NSURLProtectionSpaceProxyType type, java.lang.String realm, NSURLAuthenticationMethod authenticationMethod)
-
init
protected long init(java.lang.String host, long port, NSURLProtectionSpaceProtocol protocol, java.lang.String realm, NSURLAuthenticationMethod authenticationMethod)
-
init
protected long init(java.lang.String host, long port, NSURLProtectionSpaceProxyType type, java.lang.String realm, NSURLAuthenticationMethod authenticationMethod)
-
init
protected long init(NSCoder decoder)
-
-