Package system.net
Class ServicePointManager
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.net.ServicePointManager
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class ServicePointManager extends NetObject
The base .NET class managing System.Net.ServicePointManager, System.Net.Requests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.ServicePointManager
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Net.Requests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Net.Requestsstatic java.lang.String
className
Qualified class name: System.Net.ServicePointManagerstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ServicePointManager()
ServicePointManager(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServicePointManager
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoServicePointManager
, 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 namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typestatic 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)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Net.Requests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Net.Requests- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Net.ServicePointManager- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ServicePointManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoServicePointManager
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ServicePointManager
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
FindServicePoint
public 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
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
NullReferenceException
OutOfMemoryException
ExternalException
CultureNotFoundException
UnreachableException
UriFormatException
InvalidTimeZoneException
OverflowException
SecurityException
-
FindServicePoint
public 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
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
NullReferenceException
UriFormatException
OutOfMemoryException
UnreachableException
FormatException
InvalidTimeZoneException
SecurityException
UnauthorizedAccessException
IOException
-
FindServicePoint
public static ServicePoint FindServicePoint(Uri address) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, NullReferenceException, UriFormatException, OutOfMemoryException, FormatException, InvalidTimeZoneException, OverflowException, SecurityException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
NullReferenceException
UriFormatException
OutOfMemoryException
FormatException
InvalidTimeZoneException
OverflowException
SecurityException
-
SetTcpKeepAlive
public static void SetTcpKeepAlive(boolean enabled, int keepAliveTime, int keepAliveInterval) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getCheckCertificateRevocationList
public static boolean getCheckCertificateRevocationList() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCheckCertificateRevocationList
public static void setCheckCertificateRevocationList(boolean CheckCertificateRevocationList) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getEnableDnsRoundRobin
public static boolean getEnableDnsRoundRobin() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setEnableDnsRoundRobin
public static void setEnableDnsRoundRobin(boolean EnableDnsRoundRobin) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getExpect100Continue
public static boolean getExpect100Continue() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setExpect100Continue
public static void setExpect100Continue(boolean Expect100Continue) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getReusePort
public static boolean getReusePort() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setReusePort
public static void setReusePort(boolean ReusePort) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUseNagleAlgorithm
public static boolean getUseNagleAlgorithm() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUseNagleAlgorithm
public static void setUseNagleAlgorithm(boolean UseNagleAlgorithm) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDefaultConnectionLimit
public static int getDefaultConnectionLimit() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDefaultConnectionLimit
public static void setDefaultConnectionLimit(int DefaultConnectionLimit) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getDnsRefreshTimeout
public static int getDnsRefreshTimeout() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDnsRefreshTimeout
public static void setDnsRefreshTimeout(int DnsRefreshTimeout) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMaxServicePointIdleTime
public static int getMaxServicePointIdleTime() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMaxServicePointIdleTime
public static void setMaxServicePointIdleTime(int MaxServicePointIdleTime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
getMaxServicePoints
public static int getMaxServicePoints() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMaxServicePoints
public static void setMaxServicePoints(int MaxServicePoints) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getEncryptionPolicy
public static EncryptionPolicy getEncryptionPolicy() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getServerCertificateValidationCallback
public static RemoteCertificateValidationCallback getServerCertificateValidationCallback() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setServerCertificateValidationCallback
public static void setServerCertificateValidationCallback(RemoteCertificateValidationCallback ServerCertificateValidationCallback) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSecurityProtocol
public static SecurityProtocolType getSecurityProtocol() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSecurityProtocol
public static void setSecurityProtocol(SecurityProtocolType SecurityProtocol) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
-