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.Net.Requests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.Requests
|
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 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 |
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, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException, UnreachableException, UriFormatException, InvalidTimeZoneException, OverflowException, SecurityException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionUnreachableExceptionUriFormatExceptionInvalidTimeZoneExceptionOverflowExceptionSecurityExceptionpublic static ServicePoint FindServicePoint(Uri address) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, NullReferenceException, OutOfMemoryException, UriFormatException, FormatException, InvalidTimeZoneException, OverflowException, SecurityException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionNullReferenceExceptionOutOfMemoryExceptionUriFormatExceptionFormatExceptionInvalidTimeZoneExceptionOverflowExceptionSecurityExceptionpublic static ServicePoint FindServicePoint(Uri address, IWebProxy proxy) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, NullReferenceException, OutOfMemoryException, UnreachableException, UriFormatException, FormatException, InvalidTimeZoneException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionNullReferenceExceptionOutOfMemoryExceptionUnreachableExceptionUriFormatExceptionFormatExceptionInvalidTimeZoneExceptionpublic static boolean getCheckCertificateRevocationList()
throws java.lang.Throwable
java.lang.Throwablepublic static int getDefaultConnectionLimit()
throws java.lang.Throwable
java.lang.Throwablepublic static int getDnsRefreshTimeout()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean getEnableDnsRoundRobin()
throws java.lang.Throwable
java.lang.Throwablepublic static EncryptionPolicy getEncryptionPolicy() throws java.lang.Throwable
java.lang.Throwablepublic static boolean getExpect100Continue()
throws java.lang.Throwable
java.lang.Throwablepublic 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
java.lang.Throwablepublic static RemoteCertificateValidationCallback getServerCertificateValidationCallback() throws java.lang.Throwable
java.lang.Throwablepublic static boolean getUseNagleAlgorithm()
throws java.lang.Throwable
java.lang.Throwablepublic static void setCheckCertificateRevocationList(boolean CheckCertificateRevocationList)
throws java.lang.Throwable
java.lang.Throwablepublic static void setDefaultConnectionLimit(int DefaultConnectionLimit)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public static void setDnsRefreshTimeout(int DnsRefreshTimeout)
throws java.lang.Throwable
java.lang.Throwablepublic static void setEnableDnsRoundRobin(boolean EnableDnsRoundRobin)
throws java.lang.Throwable
java.lang.Throwablepublic static void setExpect100Continue(boolean Expect100Continue)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static void setMaxServicePointIdleTime(int MaxServicePointIdleTime)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException
public static void setMaxServicePoints(int MaxServicePoints)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public static void setReusePort(boolean ReusePort)
throws java.lang.Throwable
java.lang.Throwablepublic static void setSecurityProtocol(SecurityProtocolType SecurityProtocol) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
public static void setServerCertificateValidationCallback(RemoteCertificateValidationCallback ServerCertificateValidationCallback) throws java.lang.Throwable
java.lang.Throwablepublic static void SetTcpKeepAlive(boolean enabled,
int keepAliveTime,
int keepAliveInterval)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public static void setUseNagleAlgorithm(boolean UseNagleAlgorithm)
throws java.lang.Throwable
java.lang.Throwable