org.rococoa.cocoa.foundation
Class NSURLProtectionSpace

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.foundation.NSURLProtectionSpace
All Implemented Interfaces:
NSCopying, NSObject, ObjCObject

public abstract class NSURLProtectionSpace
extends NSObject
implements ObjCObject, NSCopying

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class NSURLProtectionSpace._class_
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
NSCopying._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSURLProtectionSpace()
           
 
Method Summary
static NSURLProtectionSpace alloc()
           
 NSClientCertificateSpace as_NSURLProtectionSpace_NSClientCertificateSpace()
           
 NSServerTrustValidationSpace as_NSURLProtectionSpace_NSServerTrustValidationSpace()
           
abstract  NSString authenticationMethod()
           
static NSURLProtectionSpace createWithHost_port_protocol_realm_authenticationMethod(NSString host, NSInteger port, NSString protocol, NSString realm, NSString authenticationMethod)
          Factory method
static NSURLProtectionSpace createWithProxyHost_port_type_realm_authenticationMethod(NSString host, NSInteger port, NSString type, NSString realm, NSString authenticationMethod)
          Factory method
static NSURLProtectionSpace._class_ getNSClass()
           
abstract  NSString host()
           
abstract  NSURLProtectionSpace initWithHost_port_protocol_realm_authenticationMethod(NSString host, NSInteger port, NSString protocol, NSString realm, NSString authenticationMethod)
           
abstract  NSURLProtectionSpace initWithProxyHost_port_type_realm_authenticationMethod(NSString host, NSInteger port, NSString type, NSString realm, NSString authenticationMethod)
           
abstract  boolean isProxy()
          Original signature : -(BOOL)isProxy
native declaration : NSObject.h:28
static NSURLProtectionSpace new_()
           
abstract  NSInteger port()
           
abstract  NSString protocol()
           
abstract  NSString proxyType()
           
abstract  NSString realm()
           
abstract  boolean receivesCredentialSecurely()
           
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
copyWithZone
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 

Constructor Detail

NSURLProtectionSpace

public NSURLProtectionSpace()
Method Detail

as_NSURLProtectionSpace_NSClientCertificateSpace

public NSClientCertificateSpace as_NSURLProtectionSpace_NSClientCertificateSpace()

as_NSURLProtectionSpace_NSServerTrustValidationSpace

public NSServerTrustValidationSpace as_NSURLProtectionSpace_NSServerTrustValidationSpace()

initWithHost_port_protocol_realm_authenticationMethod

public abstract NSURLProtectionSpace initWithHost_port_protocol_realm_authenticationMethod(NSString host,
                                                                                           NSInteger port,
                                                                                           NSString protocol,
                                                                                           NSString realm,
                                                                                           NSString authenticationMethod)
Parameters:
host - The hostname of the server
port - The port for the server
protocol - The sprotocol for this server - e.g. "http", "ftp", "https"
realm - A string indicating a protocol-specific subdivision
of a single host. For http and https, this maps to the realm
string in http authentication challenges. For many other protocols
it is unused.
authenticationMethod - The authentication method to use to access this protection space -
valid values include nil (default method), @"digest" and @"form".

createWithHost_port_protocol_realm_authenticationMethod

public static NSURLProtectionSpace createWithHost_port_protocol_realm_authenticationMethod(NSString host,
                                                                                           NSInteger port,
                                                                                           NSString protocol,
                                                                                           NSString realm,
                                                                                           NSString authenticationMethod)
Factory method

See Also:
initWithHost_port_protocol_realm_authenticationMethod(org.rococoa.cocoa.foundation.NSString, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSString, org.rococoa.cocoa.foundation.NSString, org.rococoa.cocoa.foundation.NSString)

initWithProxyHost_port_type_realm_authenticationMethod

public abstract NSURLProtectionSpace initWithProxyHost_port_type_realm_authenticationMethod(NSString host,
                                                                                            NSInteger port,
                                                                                            NSString type,
                                                                                            NSString realm,
                                                                                            NSString authenticationMethod)
Parameters:
host - The hostname of the proxy server
port - The port for the proxy server
type - The type of proxy - e.g. "http", "ftp", "SOCKS"
realm - A string indicating a protocol-specific subdivision
of a single host. For http and https, this maps to the realm
string in http authentication challenges. For many other protocols
it is unused.
authenticationMethod - The authentication method to use to access this protection space -
valid values include nil (default method) and @"digest"

createWithProxyHost_port_type_realm_authenticationMethod

public static NSURLProtectionSpace createWithProxyHost_port_type_realm_authenticationMethod(NSString host,
                                                                                            NSInteger port,
                                                                                            NSString type,
                                                                                            NSString realm,
                                                                                            NSString authenticationMethod)
Factory method

See Also:
initWithProxyHost_port_type_realm_authenticationMethod(org.rococoa.cocoa.foundation.NSString, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSString, org.rococoa.cocoa.foundation.NSString, org.rococoa.cocoa.foundation.NSString)

realm

public abstract NSString realm()

receivesCredentialSecurely

public abstract boolean receivesCredentialSecurely()

isProxy

public abstract boolean isProxy()
Description copied from interface: NSObject
Original signature : -(BOOL)isProxy
native declaration : NSObject.h:28

Specified by:
isProxy in interface NSObject

host

public abstract NSString host()

port

public abstract NSInteger port()

proxyType

public abstract NSString proxyType()

protocol

public abstract NSString protocol()

authenticationMethod

public abstract NSString authenticationMethod()

alloc

public static NSURLProtectionSpace alloc()

new_

public static NSURLProtectionSpace new_()

getNSClass

public static NSURLProtectionSpace._class_ getNSClass()


Copyright © 2009. All Rights Reserved.