public class ClientWebSocketOptions extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Net.WebSockets.ClientWebSocketOptions
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.WebSockets.Client, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.WebSockets.Client
|
static java.lang.String |
className
Qualified class name: System.Net.WebSockets.ClientWebSocketOptions
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ClientWebSocketOptions() |
ClientWebSocketOptions(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddSubProtocol(java.lang.String subProtocol)
Invokes the .NET member AddSubProtocol.
|
static ClientWebSocketOptions |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ClientWebSocketOptions, a cast assert is made to check if types are compatible. |
X509CertificateCollection |
getClientCertificates()
Gets the value of the .NET property ClientCertificates.
|
boolean |
getCollectHttpResponseDetails()
Gets the value of the .NET property CollectHttpResponseDetails.
|
CookieContainer |
getCookies()
Gets the value of the .NET property Cookies.
|
ICredentials |
getCredentials()
Gets the value of the .NET property Credentials.
|
WebSocketDeflateOptions |
getDangerousDeflateOptions()
Gets the value of the .NET property DangerousDeflateOptions.
|
Version |
getHttpVersion()
Gets the value of the .NET property HttpVersion.
|
HttpVersionPolicy |
getHttpVersionPolicy()
Gets the value of the .NET property HttpVersionPolicy.
|
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. |
TimeSpan |
getKeepAliveInterval()
Gets the value of the .NET property KeepAliveInterval.
|
IWebProxy |
getProxy()
Gets the value of the .NET property Proxy.
|
RemoteCertificateValidationCallback |
getRemoteCertificateValidationCallback()
Gets the value of the .NET property RemoteCertificateValidationCallback.
|
boolean |
getUseDefaultCredentials()
Gets the value of the .NET property UseDefaultCredentials.
|
void |
SetBuffer(int receiveBufferSize,
int sendBufferSize)
Invokes the .NET member SetBuffer.
|
void |
SetBuffer(int receiveBufferSize,
int sendBufferSize,
ArraySegment_1 buffer)
Invokes the .NET member SetBuffer.
|
void |
setClientCertificates(X509CertificateCollection ClientCertificates)
Sets the value of the .NET property ClientCertificates.
|
void |
setCollectHttpResponseDetails(boolean CollectHttpResponseDetails)
Sets the value of the .NET property CollectHttpResponseDetails.
|
void |
setCookies(CookieContainer Cookies)
Sets the value of the .NET property Cookies.
|
void |
setCredentials(ICredentials Credentials)
Sets the value of the .NET property Credentials.
|
void |
setDangerousDeflateOptions(WebSocketDeflateOptions DangerousDeflateOptions)
Sets the value of the .NET property DangerousDeflateOptions.
|
void |
setHttpVersion(Version HttpVersion)
Sets the value of the .NET property HttpVersion.
|
void |
setHttpVersionPolicy(HttpVersionPolicy HttpVersionPolicy)
Sets the value of the .NET property HttpVersionPolicy.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setKeepAliveInterval(TimeSpan KeepAliveInterval)
Sets the value of the .NET property KeepAliveInterval.
|
void |
setProxy(IWebProxy Proxy)
Sets the value of the .NET property Proxy.
|
void |
setRemoteCertificateValidationCallback(RemoteCertificateValidationCallback RemoteCertificateValidationCallback)
Sets the value of the .NET property RemoteCertificateValidationCallback.
|
void |
SetRequestHeader(java.lang.String headerName,
java.lang.String headerValue)
Invokes the .NET member SetRequestHeader.
|
void |
setUseDefaultCredentials(boolean UseDefaultCredentials)
Sets the value of the .NET property UseDefaultCredentials.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ClientWebSocketOptions()
throws java.lang.Throwable
java.lang.Throwablepublic ClientWebSocketOptions(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 void AddSubProtocol(java.lang.String subProtocol)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
UnreachableException,
OverflowException,
FormatException,
OutOfMemoryException,
ExternalException,
NotSupportedException,
RankException,
ArrayTypeMismatchException
subProtocol - the argument of type java.lang.Stringjava.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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itUnreachableException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static ClientWebSocketOptions cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ClientWebSocketOptions, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedClientWebSocketOptions instancejava.lang.Throwable - in case of error during cast operationpublic X509CertificateCollection getClientCertificates() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getCollectHttpResponseDetails()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic CookieContainer getCookies() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ICredentials getCredentials() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic WebSocketDeflateOptions getDangerousDeflateOptions() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Version getHttpVersion() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic HttpVersionPolicy getHttpVersionPolicy() 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 TimeSpan getKeepAliveInterval() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IWebProxy getProxy() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic RemoteCertificateValidationCallback getRemoteCertificateValidationCallback() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getUseDefaultCredentials()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void SetBuffer(int receiveBufferSize,
int sendBufferSize)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
receiveBufferSize - the argument of type intsendBufferSize - the argument of type intjava.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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void SetBuffer(int receiveBufferSize,
int sendBufferSize,
ArraySegment_1 buffer)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException
receiveBufferSize - the argument of type intsendBufferSize - the argument of type intbuffer - the argument of type ArraySegment_1java.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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setClientCertificates(X509CertificateCollection ClientCertificates) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
ClientCertificates - 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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setCollectHttpResponseDetails(boolean CollectHttpResponseDetails)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
CollectHttpResponseDetails - 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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setCookies(CookieContainer Cookies) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
Cookies - 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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setCredentials(ICredentials Credentials) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
Credentials - 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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setDangerousDeflateOptions(WebSocketDeflateOptions DangerousDeflateOptions) throws java.lang.Throwable
DangerousDeflateOptions - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setHttpVersion(Version HttpVersion) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
HttpVersion - 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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setHttpVersionPolicy(HttpVersionPolicy HttpVersionPolicy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
HttpVersionPolicy - 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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setKeepAliveInterval(TimeSpan KeepAliveInterval) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
KeepAliveInterval - 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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setProxy(IWebProxy Proxy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
Proxy - 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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setRemoteCertificateValidationCallback(RemoteCertificateValidationCallback RemoteCertificateValidationCallback) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
RemoteCertificateValidationCallback - 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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void SetRequestHeader(java.lang.String headerName,
java.lang.String headerValue)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
headerName - the argument of type java.lang.StringheaderValue - the argument of type java.lang.Stringjava.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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setUseDefaultCredentials(boolean UseDefaultCredentials)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
UseDefaultCredentials - 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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises it