public class ServicePoint extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Net.ServicePoint
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.ServicePoint
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ServicePoint() |
ServicePoint(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ServicePoint |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ServicePoint, a cast assert is made to check if types are compatible. |
boolean |
CloseConnectionGroup(java.lang.String connectionGroupName)
Invokes the .NET member CloseConnectionGroup.
|
Uri |
getAddress()
Gets the value of the .NET property Address.
|
BindIPEndPoint |
getBindIPEndPointDelegate()
Gets the value of the .NET property BindIPEndPointDelegate.
|
X509Certificate |
getCertificate()
Gets the value of the .NET property Certificate.
|
X509Certificate |
getClientCertificate()
Gets the value of the .NET property ClientCertificate.
|
int |
getConnectionLeaseTimeout()
Gets the value of the .NET property ConnectionLeaseTimeout.
|
int |
getConnectionLimit()
Gets the value of the .NET property ConnectionLimit.
|
java.lang.String |
getConnectionName()
Gets the value of the .NET property ConnectionName.
|
int |
getCurrentConnections()
Gets the value of the .NET property CurrentConnections.
|
boolean |
getExpect100Continue()
Gets the value of the .NET property Expect100Continue.
|
DateTime |
getIdleSince()
Gets the value of the .NET property IdleSince.
|
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. |
int |
getMaxIdleTime()
Gets the value of the .NET property MaxIdleTime.
|
Version |
getProtocolVersion()
Gets the value of the .NET property ProtocolVersion.
|
int |
getReceiveBufferSize()
Gets the value of the .NET property ReceiveBufferSize.
|
boolean |
getSupportsPipelining()
Gets the value of the .NET property SupportsPipelining.
|
boolean |
getUseNagleAlgorithm()
Gets the value of the .NET property UseNagleAlgorithm.
|
void |
setBindIPEndPointDelegate(BindIPEndPoint BindIPEndPointDelegate)
Sets the value of the .NET property BindIPEndPointDelegate.
|
void |
setCertificate(X509Certificate Certificate)
Sets the value of the .NET property Certificate.
|
void |
setConnectionLeaseTimeout(int ConnectionLeaseTimeout)
Sets the value of the .NET property ConnectionLeaseTimeout.
|
void |
setConnectionLimit(int ConnectionLimit)
Sets the value of the .NET property ConnectionLimit.
|
void |
setExpect100Continue(boolean Expect100Continue)
Sets the value of the .NET property Expect100Continue.
|
void |
setIdleSince(DateTime IdleSince)
Sets the value of the .NET property IdleSince.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMaxIdleTime(int MaxIdleTime)
Sets the value of the .NET property MaxIdleTime.
|
void |
setProtocolVersion(Version ProtocolVersion)
Sets the value of the .NET property ProtocolVersion.
|
void |
setReceiveBufferSize(int ReceiveBufferSize)
Sets the value of the .NET property ReceiveBufferSize.
|
void |
SetTcpKeepAlive(boolean enabled,
int keepAliveTime,
int keepAliveInterval)
Invokes the .NET member SetTcpKeepAlive.
|
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 ServicePoint()
throws java.lang.Throwable
java.lang.Throwablepublic ServicePoint(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 ServicePoint cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ServicePoint, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedServicePoint instancejava.lang.Throwable - in case of error during cast operationpublic boolean CloseConnectionGroup(java.lang.String connectionGroupName)
throws java.lang.Throwable
connectionGroupName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Uri getAddress() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic BindIPEndPoint getBindIPEndPointDelegate() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic X509Certificate getCertificate() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic X509Certificate getClientCertificate() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getConnectionLeaseTimeout()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getConnectionLimit()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getConnectionName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getCurrentConnections()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getExpect100Continue()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DateTime getIdleSince() 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 int getMaxIdleTime()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Version getProtocolVersion() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getReceiveBufferSize()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getSupportsPipelining()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getUseNagleAlgorithm()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setBindIPEndPointDelegate(BindIPEndPoint BindIPEndPointDelegate) throws java.lang.Throwable
BindIPEndPointDelegate - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCertificate(X509Certificate Certificate) throws java.lang.Throwable
Certificate - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setConnectionLeaseTimeout(int ConnectionLeaseTimeout)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException
ConnectionLeaseTimeout - 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 void setConnectionLimit(int ConnectionLimit)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
ConnectionLimit - 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 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 setIdleSince(DateTime IdleSince) throws java.lang.Throwable
IdleSince - 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 void setMaxIdleTime(int MaxIdleTime)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException
MaxIdleTime - 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 void setProtocolVersion(Version ProtocolVersion) throws java.lang.Throwable
ProtocolVersion - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setReceiveBufferSize(int ReceiveBufferSize)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException
ReceiveBufferSize - 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 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 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