public class ServicePointManager extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.ServicePointManager
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.ServicePointManager
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ServicePointManager() |
ServicePointManager(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ServicePointManager |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ServicePointManager, a cast assert is made to check if types are compatible. |
static ServicePoint |
FindServicePoint(java.lang.String uriString,
IWebProxy proxy) |
static ServicePoint |
FindServicePoint(Uri address) |
static ServicePoint |
FindServicePoint(Uri address,
IWebProxy proxy) |
static ICertificatePolicy |
getCertificatePolicy() |
static boolean |
getCheckCertificateRevocationList() |
static int |
getDefaultConnectionLimit() |
static int |
getDnsRefreshTimeout() |
static boolean |
getEnableDnsRoundRobin() |
static EncryptionPolicy |
getEncryptionPolicy() |
static boolean |
getExpect100Continue() |
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
|
static int |
getMaxServicePointIdleTime() |
static int |
getMaxServicePoints() |
static boolean |
getReusePort() |
static SecurityProtocolType |
getSecurityProtocol() |
static RemoteCertificateValidationCallback |
getServerCertificateValidationCallback() |
static boolean |
getUseNagleAlgorithm() |
static void |
setCertificatePolicy(ICertificatePolicy CertificatePolicy) |
static void |
setCheckCertificateRevocationList(boolean CheckCertificateRevocationList) |
static void |
setDefaultConnectionLimit(int DefaultConnectionLimit) |
static void |
setDnsRefreshTimeout(int DnsRefreshTimeout) |
static void |
setEnableDnsRoundRobin(boolean EnableDnsRoundRobin) |
static void |
setExpect100Continue(boolean Expect100Continue) |
void |
setJCOInstance(JCObject instance) |
static void |
setMaxServicePointIdleTime(int MaxServicePointIdleTime) |
static void |
setMaxServicePoints(int MaxServicePoints) |
static void |
setReusePort(boolean ReusePort) |
static void |
setSecurityProtocol(SecurityProtocolType SecurityProtocol) |
static void |
setServerCertificateValidationCallback(RemoteCertificateValidationCallback ServerCertificateValidationCallback) |
static void |
SetTcpKeepAlive(boolean enabled,
int keepAliveTime,
int keepAliveInterval) |
static void |
setUseNagleAlgorithm(boolean UseNagleAlgorithm) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ServicePointManager()
throws java.lang.Throwable
java.lang.Throwablepublic ServicePointManager(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static ServicePointManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ServicePointManager, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedServicePointManager instancejava.lang.Throwable - in case of error during cast operationpublic static ServicePoint FindServicePoint(java.lang.String uriString, IWebProxy proxy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, SecurityException, MemberAccessException, NullReferenceException, ConfigurationException, UriFormatException, OutOfMemoryException, NotSupportedException, OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionSecurityExceptionMemberAccessExceptionNullReferenceExceptionConfigurationExceptionUriFormatExceptionOutOfMemoryExceptionNotSupportedExceptionOverflowExceptionpublic static ServicePoint FindServicePoint(Uri address) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, UriFormatException, OutOfMemoryException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, MulticastNotSupportedException, OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionUriFormatExceptionOutOfMemoryExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOverflowExceptionpublic static ServicePoint FindServicePoint(Uri address, IWebProxy proxy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, UriFormatException, OutOfMemoryException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, MulticastNotSupportedException, OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionUriFormatExceptionOutOfMemoryExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOverflowExceptionpublic static ICertificatePolicy getCertificatePolicy() throws java.lang.Throwable
java.lang.Throwablepublic static boolean getCheckCertificateRevocationList()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
InvalidOperationException,
ConfigurationErrorsException,
KeyNotFoundException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ConfigurationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationExceptionpublic static int getDefaultConnectionLimit()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
FormatException,
InvalidOperationException,
NotSupportedException,
MissingManifestResourceException,
ArgumentOutOfRangeException,
ConfigurationException
public static int getDnsRefreshTimeout()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
InvalidOperationException,
ConfigurationErrorsException,
KeyNotFoundException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ConfigurationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationExceptionpublic static boolean getEnableDnsRoundRobin()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
InvalidOperationException,
ConfigurationErrorsException,
KeyNotFoundException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ConfigurationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationExceptionpublic static EncryptionPolicy getEncryptionPolicy() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, InvalidOperationException, ConfigurationErrorsException, KeyNotFoundException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ConfigurationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationExceptionpublic static boolean getExpect100Continue()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
InvalidOperationException,
ConfigurationErrorsException,
KeyNotFoundException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ConfigurationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static int getMaxServicePointIdleTime()
throws java.lang.Throwable
java.lang.Throwablepublic static int getMaxServicePoints()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean getReusePort()
throws java.lang.Throwable
java.lang.Throwablepublic static SecurityProtocolType getSecurityProtocol() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException, InvalidOperationException, ConfigurationErrorsException, MulticastNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, Win32Exception
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionObjectDisposedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionInvalidOperationExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionWin32Exceptionpublic static RemoteCertificateValidationCallback getServerCertificateValidationCallback() throws java.lang.Throwable
java.lang.Throwablepublic static boolean getUseNagleAlgorithm()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
InvalidOperationException,
ConfigurationErrorsException,
KeyNotFoundException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ConfigurationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationExceptionpublic static void setCertificatePolicy(ICertificatePolicy CertificatePolicy) throws java.lang.Throwable, SecurityException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, NullReferenceException
java.lang.ThrowableSecurityExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNullReferenceExceptionpublic static void setCheckCertificateRevocationList(boolean CheckCertificateRevocationList)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
InvalidOperationException,
ConfigurationErrorsException,
KeyNotFoundException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ConfigurationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationExceptionpublic static void setDefaultConnectionLimit(int DefaultConnectionLimit)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
FormatException,
InvalidOperationException,
NotSupportedException,
MissingManifestResourceException,
ArgumentOutOfRangeException,
ConfigurationException
public static void setDnsRefreshTimeout(int DnsRefreshTimeout)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
InvalidOperationException,
ConfigurationErrorsException,
KeyNotFoundException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ConfigurationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationExceptionpublic static void setEnableDnsRoundRobin(boolean EnableDnsRoundRobin)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
InvalidOperationException,
ConfigurationErrorsException,
KeyNotFoundException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ConfigurationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationExceptionpublic static void setExpect100Continue(boolean Expect100Continue)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
InvalidOperationException,
ConfigurationErrorsException,
KeyNotFoundException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ConfigurationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static void setMaxServicePointIdleTime(int MaxServicePointIdleTime)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ObjectDisposedException,
AbandonedMutexException,
ArgumentException,
FormatException,
InvalidOperationException
public static void setMaxServicePoints(int MaxServicePoints)
throws java.lang.Throwable,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic static void setReusePort(boolean ReusePort)
throws java.lang.Throwable
java.lang.Throwablepublic static void setSecurityProtocol(SecurityProtocolType SecurityProtocol) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException, InvalidOperationException, ConfigurationErrorsException, MulticastNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, Win32Exception
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionObjectDisposedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionInvalidOperationExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionWin32Exceptionpublic static void setServerCertificateValidationCallback(RemoteCertificateValidationCallback ServerCertificateValidationCallback) throws java.lang.Throwable, SecurityException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, NullReferenceException
java.lang.ThrowableSecurityExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNullReferenceExceptionpublic static void SetTcpKeepAlive(boolean enabled,
int keepAliveTime,
int keepAliveInterval)
throws java.lang.Throwable,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic static void setUseNagleAlgorithm(boolean UseNagleAlgorithm)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
InvalidOperationException,
ConfigurationErrorsException,
KeyNotFoundException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ConfigurationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationException