public class SocketsHttpHandler extends HttpMessageHandler
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.Http.SocketsHttpHandler
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.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.Http
|
static java.lang.String |
className
Qualified class name: System.Net.Http.SocketsHttpHandler
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SocketsHttpHandler() |
SocketsHttpHandler(java.lang.Object instance)
Internal constructor.
|
close, Disposepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SocketsHttpHandler()
throws java.lang.Throwable,
NotSupportedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
ArgumentException,
FormatException,
ArgumentNullException,
ArgumentOutOfRangeException,
EventSourceException
public SocketsHttpHandler(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static SocketsHttpHandler cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SocketsHttpHandler, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSocketsHttpHandler instancejava.lang.Throwable - in case of error during cast operationpublic DistributedContextPropagator getActivityHeadersPropagator() throws java.lang.Throwable
java.lang.Throwablepublic boolean getAllowAutoRedirect()
throws java.lang.Throwable
java.lang.Throwablepublic DecompressionMethods getAutomaticDecompression() throws java.lang.Throwable
java.lang.Throwablepublic TimeSpan getConnectTimeout() throws java.lang.Throwable
java.lang.Throwablepublic CookieContainer getCookieContainer() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException
public ICredentials getCredentials() throws java.lang.Throwable
java.lang.Throwablepublic ICredentials getDefaultProxyCredentials() throws java.lang.Throwable
java.lang.Throwablepublic boolean getEnableMultipleHttp2Connections()
throws java.lang.Throwable
java.lang.Throwablepublic TimeSpan getExpect100ContinueTimeout() throws java.lang.Throwable
java.lang.Throwablepublic int getInitialHttp2StreamWindowSize()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean getIsSupported()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class HttpMessageHandlerString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class HttpMessageHandlerString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class HttpMessageHandlerObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class HttpMessageHandlerString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class HttpMessageHandlerJCType representing the CLR Type of the instantiated Classpublic TimeSpan getKeepAlivePingDelay() throws java.lang.Throwable
java.lang.Throwablepublic HttpKeepAlivePingPolicy getKeepAlivePingPolicy() throws java.lang.Throwable
java.lang.Throwablepublic TimeSpan getKeepAlivePingTimeout() throws java.lang.Throwable
java.lang.Throwablepublic int getMaxAutomaticRedirections()
throws java.lang.Throwable
java.lang.Throwablepublic int getMaxConnectionsPerServer()
throws java.lang.Throwable
java.lang.Throwablepublic int getMaxResponseDrainSize()
throws java.lang.Throwable
java.lang.Throwablepublic int getMaxResponseHeadersLength()
throws java.lang.Throwable
java.lang.Throwablepublic IMeterFactory getMeterFactory() throws java.lang.Throwable
java.lang.Throwablepublic TimeSpan getPooledConnectionIdleTimeout() throws java.lang.Throwable
java.lang.Throwablepublic TimeSpan getPooledConnectionLifetime() throws java.lang.Throwable
java.lang.Throwablepublic boolean getPreAuthenticate()
throws java.lang.Throwable
java.lang.Throwablepublic IWebProxy getProxy() throws java.lang.Throwable
java.lang.Throwablepublic TimeSpan getResponseDrainTimeout() throws java.lang.Throwable
java.lang.Throwablepublic SslClientAuthenticationOptions getSslOptions() throws java.lang.Throwable
java.lang.Throwablepublic boolean getUseCookies()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getUseProxy()
throws java.lang.Throwable
java.lang.Throwablepublic void setActivityHeadersPropagator(DistributedContextPropagator ActivityHeadersPropagator) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionpublic void setAllowAutoRedirect(boolean AllowAutoRedirect)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionpublic void setAutomaticDecompression(DecompressionMethods AutomaticDecompression) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException
public void setConnectTimeout(TimeSpan ConnectTimeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public void setCookieContainer(CookieContainer CookieContainer) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionpublic void setCredentials(ICredentials Credentials) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionpublic void setDefaultProxyCredentials(ICredentials DefaultProxyCredentials) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionpublic void setEnableMultipleHttp2Connections(boolean EnableMultipleHttp2Connections)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionpublic void setExpect100ContinueTimeout(TimeSpan Expect100ContinueTimeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public void setInitialHttp2StreamWindowSize(int InitialHttp2StreamWindowSize)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
public void setJCOInstance(JCObject instance)
setJCOInstance in class HttpMessageHandlerpublic void setKeepAlivePingDelay(TimeSpan KeepAlivePingDelay) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OverflowException
public void setKeepAlivePingPolicy(HttpKeepAlivePingPolicy KeepAlivePingPolicy) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionpublic void setKeepAlivePingTimeout(TimeSpan KeepAlivePingTimeout) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OverflowException
public void setMaxAutomaticRedirections(int MaxAutomaticRedirections)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public void setMaxConnectionsPerServer(int MaxConnectionsPerServer)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public void setMaxResponseDrainSize(int MaxResponseDrainSize)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public void setMaxResponseHeadersLength(int MaxResponseHeadersLength)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public void setMeterFactory(IMeterFactory MeterFactory) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionpublic void setPooledConnectionIdleTimeout(TimeSpan PooledConnectionIdleTimeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public void setPooledConnectionLifetime(TimeSpan PooledConnectionLifetime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public void setPreAuthenticate(boolean PreAuthenticate)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionpublic void setProxy(IWebProxy Proxy) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionpublic void setResponseDrainTimeout(TimeSpan ResponseDrainTimeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public void setSslOptions(SslClientAuthenticationOptions SslOptions) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionpublic void setUseCookies(boolean UseCookies)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionpublic void setUseProxy(boolean UseProxy)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedException