public class CredentialCache extends NetObjectEnumerable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.CredentialCache
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System
|
static java.lang.String |
className
Qualified class name: System.Net.CredentialCache
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
CredentialCache() |
CredentialCache(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(java.lang.String host,
int port,
java.lang.String authenticationType,
NetworkCredential credential) |
void |
Add(Uri uriPrefix,
java.lang.String authType,
NetworkCredential cred) |
static CredentialCache |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CredentialCache, a cast assert is made to check if types are compatible. |
NetworkCredential |
GetCredential(java.lang.String host,
int port,
java.lang.String authenticationType) |
NetworkCredential |
GetCredential(Uri uriPrefix,
java.lang.String authType) |
static ICredentials |
getDefaultCredentials() |
static NetworkCredential |
getDefaultNetworkCredentials() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
void |
Remove(java.lang.String host,
int port,
java.lang.String authenticationType) |
void |
Remove(Uri uriPrefix,
java.lang.String authType) |
void |
setJCOInstance(JCObject instance) |
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CredentialCache()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
FormatException
public CredentialCache(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Add(java.lang.String host,
int port,
java.lang.String authenticationType,
NetworkCredential credential)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic void Add(Uri uriPrefix, java.lang.String authType, NetworkCredential cred) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionpublic static CredentialCache cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CredentialCache, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCredentialCache instancejava.lang.Throwable - in case of error during cast operationpublic NetworkCredential GetCredential(java.lang.String host, int port, java.lang.String authenticationType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic NetworkCredential GetCredential(Uri uriPrefix, java.lang.String authType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotSupportedException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, UriFormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotSupportedExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionUriFormatExceptionpublic static ICredentials getDefaultCredentials() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, NullReferenceException, NotSupportedException
public static NetworkCredential getDefaultNetworkCredentials() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, NullReferenceException, NotSupportedException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectEnumerableString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerableString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerableObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerableString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerableJCType representing the CLR Type of the instantiated Classpublic void Remove(java.lang.String host,
int port,
java.lang.String authenticationType)
throws java.lang.Throwable,
ArgumentNullException,
ObjectDisposedException,
AbandonedMutexException
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionpublic void Remove(Uri uriPrefix, java.lang.String authType) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectEnumerable