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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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.StringassemblyFullNameFully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: Systemstatic java.lang.StringclassNameQualified class name: System.Net.ServicePointManagerstatic JCTypeclassTypeThe 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 ServicePointManagercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoServicePointManager, a cast assert is made to check if types are compatible.static ServicePointFindServicePoint(java.lang.String uriString, IWebProxy proxy)static ServicePointFindServicePoint(Uri address)static ServicePointFindServicePoint(Uri address, IWebProxy proxy)static ICertificatePolicygetCertificatePolicy()static booleangetCheckCertificateRevocationList()static intgetDefaultConnectionLimit()static intgetDnsRefreshTimeout()static booleangetEnableDnsRoundRobin()static EncryptionPolicygetEncryptionPolicy()static booleangetExpect100Continue()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typestatic intgetMaxServicePointIdleTime()static intgetMaxServicePoints()static booleangetReusePort()static SecurityProtocolTypegetSecurityProtocol()static RemoteCertificateValidationCallbackgetServerCertificateValidationCallback()static booleangetUseNagleAlgorithm()static voidsetCertificatePolicy(ICertificatePolicy CertificatePolicy)static voidsetCheckCertificateRevocationList(boolean CheckCertificateRevocationList)static voidsetDefaultConnectionLimit(int DefaultConnectionLimit)static voidsetDnsRefreshTimeout(int DnsRefreshTimeout)static voidsetEnableDnsRoundRobin(boolean EnableDnsRoundRobin)static voidsetExpect100Continue(boolean Expect100Continue)voidsetJCOInstance(JCObject instance)static voidsetMaxServicePointIdleTime(int MaxServicePointIdleTime)static voidsetMaxServicePoints(int MaxServicePoints)static voidsetReusePort(boolean ReusePort)static voidsetSecurityProtocol(SecurityProtocolType SecurityProtocol)static voidsetServerCertificateValidationCallback(RemoteCertificateValidationCallback ServerCertificateValidationCallback)static voidSetTcpKeepAlive(boolean enabled, int keepAliveTime, int keepAliveInterval)static voidsetUseNagleAlgorithm(boolean UseNagleAlgorithm)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System- 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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ServicePointManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoServicePointManager, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ServicePointManagerinstance- 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, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, SecurityException, MemberAccessException, NullReferenceException, ConfigurationException, UriFormatException, OutOfMemoryException, NotSupportedException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionSecurityExceptionMemberAccessExceptionNullReferenceExceptionConfigurationExceptionUriFormatExceptionOutOfMemoryExceptionNotSupportedExceptionOverflowException
-
FindServicePoint
public static ServicePoint FindServicePoint(Uri address) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, UriFormatException, OutOfMemoryException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, MulticastNotSupportedException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionUriFormatExceptionOutOfMemoryExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOverflowException
-
FindServicePoint
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionUriFormatExceptionOutOfMemoryExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOverflowException
-
SetTcpKeepAlive
public static void SetTcpKeepAlive(boolean enabled, int keepAliveTime, int keepAliveInterval) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
getCheckCertificateRevocationList
public static boolean getCheckCertificateRevocationList() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, InvalidOperationException, ConfigurationErrorsException, KeyNotFoundException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ConfigurationException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationException
-
setCheckCertificateRevocationList
public static void setCheckCertificateRevocationList(boolean CheckCertificateRevocationList) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, InvalidOperationException, ConfigurationErrorsException, KeyNotFoundException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ConfigurationException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationException
-
getEnableDnsRoundRobin
public static boolean getEnableDnsRoundRobin() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, InvalidOperationException, ConfigurationErrorsException, KeyNotFoundException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ConfigurationException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationException
-
setEnableDnsRoundRobin
public static void setEnableDnsRoundRobin(boolean EnableDnsRoundRobin) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, InvalidOperationException, ConfigurationErrorsException, KeyNotFoundException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ConfigurationException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationException
-
getExpect100Continue
public static boolean getExpect100Continue() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, InvalidOperationException, ConfigurationErrorsException, KeyNotFoundException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ConfigurationException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationException
-
setExpect100Continue
public static void setExpect100Continue(boolean Expect100Continue) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, InvalidOperationException, ConfigurationErrorsException, KeyNotFoundException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ConfigurationException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationException
-
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, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, InvalidOperationException, ConfigurationErrorsException, KeyNotFoundException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ConfigurationException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationException
-
setUseNagleAlgorithm
public static void setUseNagleAlgorithm(boolean UseNagleAlgorithm) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, InvalidOperationException, ConfigurationErrorsException, KeyNotFoundException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ConfigurationException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationException
-
getDefaultConnectionLimit
public static int getDefaultConnectionLimit() throws java.lang.Throwable, ArgumentException, ArgumentNullException, FormatException, InvalidOperationException, NotSupportedException, MissingManifestResourceException, ArgumentOutOfRangeException, ConfigurationException
-
setDefaultConnectionLimit
public static void setDefaultConnectionLimit(int DefaultConnectionLimit) throws java.lang.Throwable, ArgumentException, ArgumentNullException, FormatException, InvalidOperationException, NotSupportedException, MissingManifestResourceException, ArgumentOutOfRangeException, ConfigurationException
-
getDnsRefreshTimeout
public static int getDnsRefreshTimeout() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, InvalidOperationException, ConfigurationErrorsException, KeyNotFoundException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ConfigurationException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationException
-
setDnsRefreshTimeout
public static void setDnsRefreshTimeout(int DnsRefreshTimeout) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, InvalidOperationException, ConfigurationErrorsException, KeyNotFoundException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ConfigurationException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationException
-
getMaxServicePointIdleTime
public static int getMaxServicePointIdleTime() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMaxServicePointIdleTime
public static void setMaxServicePointIdleTime(int MaxServicePointIdleTime) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentException, FormatException, InvalidOperationException
-
getMaxServicePoints
public static int getMaxServicePoints() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMaxServicePoints
public static void setMaxServicePoints(int MaxServicePoints) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
getCertificatePolicy
public static ICertificatePolicy getCertificatePolicy() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCertificatePolicy
public static void setCertificatePolicy(ICertificatePolicy CertificatePolicy) throws java.lang.Throwable, SecurityException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, NullReferenceException
- Throws:
java.lang.ThrowableSecurityExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNullReferenceException
-
getEncryptionPolicy
public static EncryptionPolicy getEncryptionPolicy() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, InvalidOperationException, ConfigurationErrorsException, KeyNotFoundException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ConfigurationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationException
-
getServerCertificateValidationCallback
public static RemoteCertificateValidationCallback getServerCertificateValidationCallback() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setServerCertificateValidationCallback
public static void setServerCertificateValidationCallback(RemoteCertificateValidationCallback ServerCertificateValidationCallback) throws java.lang.Throwable, SecurityException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, NullReferenceException
- Throws:
java.lang.ThrowableSecurityExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNullReferenceException
-
getSecurityProtocol
public static SecurityProtocolType getSecurityProtocol() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException, InvalidOperationException, ConfigurationErrorsException, MulticastNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, Win32Exception
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionObjectDisposedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionInvalidOperationExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionWin32Exception
-
setSecurityProtocol
public static void setSecurityProtocol(SecurityProtocolType SecurityProtocol) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException, InvalidOperationException, ConfigurationErrorsException, MulticastNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, Win32Exception
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionObjectDisposedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionInvalidOperationExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionWin32Exception
-
-