public class ServicePointManager extends NetObject
.NET documentation at https://learn.microsoft.com/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=9.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)
Invokes the .NET member FindServicePoint.
|
static ServicePoint |
FindServicePoint(Uri address)
Invokes the .NET member FindServicePoint.
|
static ServicePoint |
FindServicePoint(Uri address,
IWebProxy proxy)
Invokes the .NET member FindServicePoint.
|
static boolean |
getCheckCertificateRevocationList()
Gets the value of the .NET property CheckCertificateRevocationList.
|
static int |
getDefaultConnectionLimit()
Gets the value of the .NET property DefaultConnectionLimit.
|
static int |
getDnsRefreshTimeout()
Gets the value of the .NET property DnsRefreshTimeout.
|
static boolean |
getEnableDnsRoundRobin()
Gets the value of the .NET property EnableDnsRoundRobin.
|
static EncryptionPolicy |
getEncryptionPolicy()
Gets the value of the .NET property EncryptionPolicy.
|
static boolean |
getExpect100Continue()
Gets the value of the .NET property Expect100Continue.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static int |
getMaxServicePointIdleTime()
Gets the value of the .NET property MaxServicePointIdleTime.
|
static int |
getMaxServicePoints()
Gets the value of the .NET property MaxServicePoints.
|
static boolean |
getReusePort()
Gets the value of the .NET property ReusePort.
|
static SecurityProtocolType |
getSecurityProtocol()
Gets the value of the .NET property SecurityProtocol.
|
static RemoteCertificateValidationCallback |
getServerCertificateValidationCallback()
Gets the value of the .NET property ServerCertificateValidationCallback.
|
static boolean |
getUseNagleAlgorithm()
Gets the value of the .NET property UseNagleAlgorithm.
|
static void |
setCheckCertificateRevocationList(boolean CheckCertificateRevocationList)
Sets the value of the .NET property CheckCertificateRevocationList.
|
static void |
setDefaultConnectionLimit(int DefaultConnectionLimit)
Sets the value of the .NET property DefaultConnectionLimit.
|
static void |
setDnsRefreshTimeout(int DnsRefreshTimeout)
Sets the value of the .NET property DnsRefreshTimeout.
|
static void |
setEnableDnsRoundRobin(boolean EnableDnsRoundRobin)
Sets the value of the .NET property EnableDnsRoundRobin.
|
static void |
setExpect100Continue(boolean Expect100Continue)
Sets the value of the .NET property Expect100Continue.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static void |
setMaxServicePointIdleTime(int MaxServicePointIdleTime)
Sets the value of the .NET property MaxServicePointIdleTime.
|
static void |
setMaxServicePoints(int MaxServicePoints)
Sets the value of the .NET property MaxServicePoints.
|
static void |
setReusePort(boolean ReusePort)
Sets the value of the .NET property ReusePort.
|
static void |
setSecurityProtocol(SecurityProtocolType SecurityProtocol)
Sets the value of the .NET property SecurityProtocol.
|
static void |
setServerCertificateValidationCallback(RemoteCertificateValidationCallback ServerCertificateValidationCallback)
Sets the value of the .NET property ServerCertificateValidationCallback.
|
static void |
SetTcpKeepAlive(boolean enabled,
int keepAliveTime,
int keepAliveInterval)
Invokes the .NET member SetTcpKeepAlive.
|
static void |
setUseNagleAlgorithm(boolean UseNagleAlgorithm)
Sets the value of the .NET property 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
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic 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
uriString - the argument of type java.lang.Stringproxy - the argument of type IWebProxyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itOverflowException - if the .NET member raises itSecurityException - if the .NET member raises itpublic static ServicePoint FindServicePoint(Uri address) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, NullReferenceException, UriFormatException, OutOfMemoryException, FormatException, InvalidTimeZoneException, OverflowException, SecurityException
address - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itUriFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itOverflowException - if the .NET member raises itSecurityException - if the .NET member raises itpublic static ServicePoint FindServicePoint(Uri address, IWebProxy proxy) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, NullReferenceException, UriFormatException, OutOfMemoryException, UnreachableException, FormatException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException
address - the argument of type Uriproxy - the argument of type IWebProxyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNullReferenceException - if the .NET member raises itUriFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itFormatException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itpublic static boolean getCheckCertificateRevocationList()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static int getDefaultConnectionLimit()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static int getDnsRefreshTimeout()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static boolean getEnableDnsRoundRobin()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static EncryptionPolicy getEncryptionPolicy() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static boolean getExpect100Continue()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic static int getMaxServicePointIdleTime()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static int getMaxServicePoints()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static boolean getReusePort()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static SecurityProtocolType getSecurityProtocol() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static RemoteCertificateValidationCallback getServerCertificateValidationCallback() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static boolean getUseNagleAlgorithm()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static void setCheckCertificateRevocationList(boolean CheckCertificateRevocationList)
throws java.lang.Throwable
CheckCertificateRevocationList - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static void setDefaultConnectionLimit(int DefaultConnectionLimit)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
DefaultConnectionLimit - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static void setDnsRefreshTimeout(int DnsRefreshTimeout)
throws java.lang.Throwable
DnsRefreshTimeout - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static void setEnableDnsRoundRobin(boolean EnableDnsRoundRobin)
throws java.lang.Throwable
EnableDnsRoundRobin - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static void setExpect100Continue(boolean Expect100Continue)
throws java.lang.Throwable
Expect100Continue - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic static void setMaxServicePointIdleTime(int MaxServicePointIdleTime)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException
MaxServicePointIdleTime - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic static void setMaxServicePoints(int MaxServicePoints)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
MaxServicePoints - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static void setReusePort(boolean ReusePort)
throws java.lang.Throwable
ReusePort - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static void setSecurityProtocol(SecurityProtocolType SecurityProtocol) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
SecurityProtocol - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static void setServerCertificateValidationCallback(RemoteCertificateValidationCallback ServerCertificateValidationCallback) throws java.lang.Throwable
ServerCertificateValidationCallback - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static void SetTcpKeepAlive(boolean enabled,
int keepAliveTime,
int keepAliveInterval)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
enabled - the argument of type booleankeepAliveTime - the argument of type intkeepAliveInterval - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static void setUseNagleAlgorithm(boolean UseNagleAlgorithm)
throws java.lang.Throwable
UseNagleAlgorithm - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR