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=4.2.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=4.2.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=4.2.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, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, EventSourceException, OutOfMemoryException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, SecurityException, NotSupportedException, HttpRequestException, ConfigurationErrorsException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, SemaphoreFullException, KeyNotFoundException- Throws:
java.lang.ThrowableIndexOutOfRangeExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionEventSourceExceptionOutOfMemoryExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionSecurityExceptionNotSupportedExceptionHttpRequestExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionSemaphoreFullExceptionKeyNotFoundException
-
-
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, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException
-
getCheckCertificateRevocationList
public boolean getCheckCertificateRevocationList() throws java.lang.Throwable, PlatformNotSupportedException- Throws:
java.lang.ThrowablePlatformNotSupportedException
-
setCheckCertificateRevocationList
public void setCheckCertificateRevocationList(boolean CheckCertificateRevocationList) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, PlatformNotSupportedException- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionPlatformNotSupportedException
-
getPreAuthenticate
public boolean getPreAuthenticate() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setPreAuthenticate
public void setPreAuthenticate(boolean PreAuthenticate) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException
-
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, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException
-
getUseDefaultCredentials
public boolean getUseDefaultCredentials() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUseDefaultCredentials
public void setUseDefaultCredentials(boolean UseDefaultCredentials) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException
-
getUseProxy
public boolean getUseProxy() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUseProxy
public void setUseProxy(boolean UseProxy) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException
-
getMaxAutomaticRedirections
public int getMaxAutomaticRedirections() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMaxAutomaticRedirections
public void setMaxAutomaticRedirections(int MaxAutomaticRedirections) throws java.lang.Throwable, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException
-
getMaxConnectionsPerServer
public int getMaxConnectionsPerServer() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMaxConnectionsPerServer
public void setMaxConnectionsPerServer(int MaxConnectionsPerServer) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
getMaxResponseHeadersLength
public int getMaxResponseHeadersLength() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMaxResponseHeadersLength
public void setMaxResponseHeadersLength(int MaxResponseHeadersLength) throws java.lang.Throwable, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException
-
getMaxRequestContentBufferSize
public long getMaxRequestContentBufferSize() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMaxRequestContentBufferSize
public void setMaxRequestContentBufferSize(long MaxRequestContentBufferSize) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
getCookieContainer
public CookieContainer getCookieContainer() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCookieContainer
public void setCookieContainer(CookieContainer CookieContainer) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
getAutomaticDecompression
public DecompressionMethods getAutomaticDecompression() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAutomaticDecompression
public void setAutomaticDecompression(DecompressionMethods AutomaticDecompression) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException
-
getClientCertificateOptions
public ClientCertificateOption getClientCertificateOptions() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setClientCertificateOptions
public void setClientCertificateOptions(ClientCertificateOption ClientCertificateOptions) throws java.lang.Throwable, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException
-
getCredentials
public ICredentials getCredentials() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCredentials
public void setCredentials(ICredentials Credentials) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException
-
getDefaultProxyCredentials
public ICredentials getDefaultProxyCredentials() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDefaultProxyCredentials
public void setDefaultProxyCredentials(ICredentials DefaultProxyCredentials) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException
-
getProxy
public IWebProxy getProxy() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setProxy
public void setProxy(IWebProxy Proxy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
getSslProtocols
public SslProtocols getSslProtocols() throws java.lang.Throwable, PlatformNotSupportedException
- Throws:
java.lang.ThrowablePlatformNotSupportedException
-
setSslProtocols
public void setSslProtocols(SslProtocols SslProtocols) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, PlatformNotSupportedException
- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionPlatformNotSupportedException
-
getClientCertificates
public X509CertificateCollection getClientCertificates() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
-