Package system.net.http
Class SocketsHttpHandler
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.net.http.HttpMessageHandler
-
- system.net.http.SocketsHttpHandler
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class SocketsHttpHandler extends HttpMessageHandler
The base .NET class managing System.Net.Http.SocketsHttpHandler, System.Net.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..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
- 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.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Net.Httpstatic java.lang.String
className
Qualified class name: System.Net.Http.SocketsHttpHandlerstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SocketsHttpHandler()
SocketsHttpHandler(java.lang.Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class system.net.http.HttpMessageHandler
close, Dispose
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Net.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Net.Http- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Net.Http.SocketsHttpHandler- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SocketsHttpHandler
public SocketsHttpHandler(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
SocketsHttpHandler
public SocketsHttpHandler() throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentException, FormatException, ArgumentNullException, ArgumentOutOfRangeException, EventSourceException
-
-
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 classHttpMessageHandler
- 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 classHttpMessageHandler
- 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 classHttpMessageHandler
- 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 classHttpMessageHandler
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classHttpMessageHandler
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classHttpMessageHandler
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SocketsHttpHandler cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSocketsHttpHandler
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SocketsHttpHandler
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getAllowAutoRedirect
public boolean getAllowAutoRedirect() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAllowAutoRedirect
public void setAllowAutoRedirect(boolean AllowAutoRedirect) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
-
getEnableMultipleHttp2Connections
public boolean getEnableMultipleHttp2Connections() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setEnableMultipleHttp2Connections
public void setEnableMultipleHttp2Connections(boolean EnableMultipleHttp2Connections) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
-
getIsSupported
public static boolean getIsSupported() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPreAuthenticate
public boolean getPreAuthenticate() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPreAuthenticate
public void setPreAuthenticate(boolean PreAuthenticate) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
-
getUseCookies
public boolean getUseCookies() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUseCookies
public void setUseCookies(boolean UseCookies) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
-
getUseProxy
public boolean getUseProxy() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUseProxy
public void setUseProxy(boolean UseProxy) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
-
getInitialHttp2StreamWindowSize
public int getInitialHttp2StreamWindowSize() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setInitialHttp2StreamWindowSize
public void setInitialHttp2StreamWindowSize(int InitialHttp2StreamWindowSize) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
getMaxAutomaticRedirections
public int getMaxAutomaticRedirections() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMaxAutomaticRedirections
public void setMaxAutomaticRedirections(int MaxAutomaticRedirections) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getMaxConnectionsPerServer
public int getMaxConnectionsPerServer() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMaxConnectionsPerServer
public void setMaxConnectionsPerServer(int MaxConnectionsPerServer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getMaxResponseDrainSize
public int getMaxResponseDrainSize() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMaxResponseDrainSize
public void setMaxResponseDrainSize(int MaxResponseDrainSize) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getMaxResponseHeadersLength
public int getMaxResponseHeadersLength() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMaxResponseHeadersLength
public void setMaxResponseHeadersLength(int MaxResponseHeadersLength) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getActivityHeadersPropagator
public DistributedContextPropagator getActivityHeadersPropagator() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setActivityHeadersPropagator
public void setActivityHeadersPropagator(DistributedContextPropagator ActivityHeadersPropagator) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
-
getMeterFactory
public IMeterFactory getMeterFactory() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMeterFactory
public void setMeterFactory(IMeterFactory MeterFactory) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
-
getCookieContainer
public CookieContainer getCookieContainer() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException
-
setCookieContainer
public void setCookieContainer(CookieContainer CookieContainer) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
-
getAutomaticDecompression
public DecompressionMethods getAutomaticDecompression() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAutomaticDecompression
public void setAutomaticDecompression(DecompressionMethods AutomaticDecompression) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException
-
getKeepAlivePingPolicy
public HttpKeepAlivePingPolicy getKeepAlivePingPolicy() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setKeepAlivePingPolicy
public void setKeepAlivePingPolicy(HttpKeepAlivePingPolicy KeepAlivePingPolicy) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
-
getCredentials
public ICredentials getCredentials() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCredentials
public void setCredentials(ICredentials Credentials) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
-
getDefaultProxyCredentials
public ICredentials getDefaultProxyCredentials() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDefaultProxyCredentials
public void setDefaultProxyCredentials(ICredentials DefaultProxyCredentials) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
-
getProxy
public IWebProxy getProxy() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setProxy
public void setProxy(IWebProxy Proxy) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
-
getSslOptions
public SslClientAuthenticationOptions getSslOptions() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSslOptions
public void setSslOptions(SslClientAuthenticationOptions SslOptions) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
-
getConnectTimeout
public TimeSpan getConnectTimeout() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setConnectTimeout
public void setConnectTimeout(TimeSpan ConnectTimeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getExpect100ContinueTimeout
public TimeSpan getExpect100ContinueTimeout() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setExpect100ContinueTimeout
public void setExpect100ContinueTimeout(TimeSpan Expect100ContinueTimeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getKeepAlivePingDelay
public TimeSpan getKeepAlivePingDelay() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setKeepAlivePingDelay
public void setKeepAlivePingDelay(TimeSpan KeepAlivePingDelay) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OverflowException
-
getKeepAlivePingTimeout
public TimeSpan getKeepAlivePingTimeout() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setKeepAlivePingTimeout
public void setKeepAlivePingTimeout(TimeSpan KeepAlivePingTimeout) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OverflowException
-
getPooledConnectionIdleTimeout
public TimeSpan getPooledConnectionIdleTimeout() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPooledConnectionIdleTimeout
public void setPooledConnectionIdleTimeout(TimeSpan PooledConnectionIdleTimeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getPooledConnectionLifetime
public TimeSpan getPooledConnectionLifetime() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPooledConnectionLifetime
public void setPooledConnectionLifetime(TimeSpan PooledConnectionLifetime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getResponseDrainTimeout
public TimeSpan getResponseDrainTimeout() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setResponseDrainTimeout
public void setResponseDrainTimeout(TimeSpan ResponseDrainTimeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
-