Package system.net.http
Class HttpClientHandler
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.net.http.HttpMessageHandler
-
- system.net.http.HttpClientHandler
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class HttpClientHandler extends HttpMessageHandler
The base .NET class managing System.Net.Http.HttpClientHandler, 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.HttpClientHandler
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.Net.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Net.Httpstatic java.lang.StringclassNameQualified class name: System.Net.Http.HttpClientHandlerstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HttpClientHandler()HttpClientHandler(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.HttpClientHandler- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HttpClientHandler
public HttpClientHandler(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
HttpClientHandler
public HttpClientHandler() throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentException, FormatException, ArgumentNullException, ArgumentOutOfRangeException, EventSourceException, ObjectDisposedException, CryptographicException- Throws:
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionArgumentExceptionFormatExceptionArgumentNullExceptionArgumentOutOfRangeExceptionEventSourceExceptionObjectDisposedExceptionCryptographicException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classHttpMessageHandler- 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 classHttpMessageHandler- 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 classHttpMessageHandler- 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 classHttpMessageHandler- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classHttpMessageHandler
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classHttpMessageHandler- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static HttpClientHandler cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoHttpClientHandler, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
HttpClientHandlerinstance- 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, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationException
-
getCheckCertificateRevocationList
public boolean getCheckCertificateRevocationList() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCheckCertificateRevocationList
public void setCheckCertificateRevocationList(boolean CheckCertificateRevocationList) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException
-
getPreAuthenticate
public boolean getPreAuthenticate() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setPreAuthenticate
public void setPreAuthenticate(boolean PreAuthenticate) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationException
-
getSupportsAutomaticDecompression
public boolean getSupportsAutomaticDecompression() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getSupportsProxy
public boolean getSupportsProxy() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getSupportsRedirectConfiguration
public boolean getSupportsRedirectConfiguration() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getUseCookies
public boolean getUseCookies() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUseCookies
public void setUseCookies(boolean UseCookies) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationException
-
getUseDefaultCredentials
public boolean getUseDefaultCredentials() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUseDefaultCredentials
public void setUseDefaultCredentials(boolean UseDefaultCredentials) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationException
-
getUseProxy
public boolean getUseProxy() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUseProxy
public void setUseProxy(boolean UseProxy) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationException
-
getMaxAutomaticRedirections
public int getMaxAutomaticRedirections() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMaxAutomaticRedirections
public void setMaxAutomaticRedirections(int MaxAutomaticRedirections) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
getMaxConnectionsPerServer
public int getMaxConnectionsPerServer() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMaxConnectionsPerServer
public void setMaxConnectionsPerServer(int MaxConnectionsPerServer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
getMaxResponseHeadersLength
public int getMaxResponseHeadersLength() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMaxResponseHeadersLength
public void setMaxResponseHeadersLength(int MaxResponseHeadersLength) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
getMaxRequestContentBufferSize
public long getMaxRequestContentBufferSize() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMaxRequestContentBufferSize
public void setMaxRequestContentBufferSize(long MaxRequestContentBufferSize) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
getMeterFactory
public IMeterFactory getMeterFactory() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMeterFactory
public void setMeterFactory(IMeterFactory MeterFactory) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationException
-
getCookieContainer
public CookieContainer getCookieContainer() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeException
-
setCookieContainer
public void setCookieContainer(CookieContainer CookieContainer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getAutomaticDecompression
public DecompressionMethods getAutomaticDecompression() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAutomaticDecompression
public void setAutomaticDecompression(DecompressionMethods AutomaticDecompression) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationException
-
getClientCertificateOptions
public ClientCertificateOption getClientCertificateOptions() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setClientCertificateOptions
public void setClientCertificateOptions(ClientCertificateOption ClientCertificateOptions) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, CryptographicException, OutOfMemoryException, FormatException, EventSourceException, ArgumentOutOfRangeException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionCryptographicExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionArgumentOutOfRangeExceptionMissingMethodExceptionTargetInvocationException
-
getCredentials
public ICredentials getCredentials() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCredentials
public void setCredentials(ICredentials Credentials) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationException
-
getDefaultProxyCredentials
public ICredentials getDefaultProxyCredentials() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDefaultProxyCredentials
public void setDefaultProxyCredentials(ICredentials DefaultProxyCredentials) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationException
-
getProxy
public IWebProxy getProxy() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setProxy
public void setProxy(IWebProxy Proxy) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationException
-
getSslProtocols
public SslProtocols getSslProtocols() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSslProtocols
public void setSslProtocols(SslProtocols SslProtocols) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException
- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationException
-
getClientCertificates
public X509CertificateCollection getClientCertificates() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
-