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.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.HttpClientHandlerstatic JCType
classType
The 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.Throwable
Internal 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.Throwable
NotSupportedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
ArgumentException
FormatException
ArgumentNullException
ArgumentOutOfRangeException
EventSourceException
ObjectDisposedException
CryptographicException
-
-
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 HttpClientHandler cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoHttpClientHandler
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
HttpClientHandler
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, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
-
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.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
-
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.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
-
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.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
-
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.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
-
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.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
-
getCookieContainer
public CookieContainer getCookieContainer() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
-
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.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
-
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.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
CryptographicException
OutOfMemoryException
FormatException
EventSourceException
ArgumentOutOfRangeException
MissingMethodException
TargetInvocationException
-
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.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
-
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.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
-
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.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
-
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.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
-
getClientCertificates
public X509CertificateCollection getClientCertificates() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
-