public class HttpClientHandler extends HttpMessageHandler
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Net.Http.HttpClientHandler
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=9.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.HttpClientHandler
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
HttpClientHandler()
Initializes a new instance by invoking the .NET constructor.
|
HttpClientHandler(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpClientHandler |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into HttpClientHandler, a cast assert is made to check if types are compatible. |
boolean |
getAllowAutoRedirect()
Gets the value of the .NET property AllowAutoRedirect.
|
DecompressionMethods |
getAutomaticDecompression()
Gets the value of the .NET property AutomaticDecompression.
|
boolean |
getCheckCertificateRevocationList()
Gets the value of the .NET property CheckCertificateRevocationList.
|
ClientCertificateOption |
getClientCertificateOptions()
Gets the value of the .NET property ClientCertificateOptions.
|
X509CertificateCollection |
getClientCertificates()
Gets the value of the .NET property ClientCertificates.
|
CookieContainer |
getCookieContainer()
Gets the value of the .NET property CookieContainer.
|
ICredentials |
getCredentials()
Gets the value of the .NET property Credentials.
|
static Func_5 |
getDangerousAcceptAnyServerCertificateValidator()
Gets the value of the .NET property DangerousAcceptAnyServerCertificateValidator.
|
ICredentials |
getDefaultProxyCredentials()
Gets the value of the .NET property DefaultProxyCredentials.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
int |
getMaxAutomaticRedirections()
Gets the value of the .NET property MaxAutomaticRedirections.
|
int |
getMaxConnectionsPerServer()
Gets the value of the .NET property MaxConnectionsPerServer.
|
long |
getMaxRequestContentBufferSize()
Gets the value of the .NET property MaxRequestContentBufferSize.
|
int |
getMaxResponseHeadersLength()
Gets the value of the .NET property MaxResponseHeadersLength.
|
IMeterFactory |
getMeterFactory()
Gets the value of the .NET property MeterFactory.
|
boolean |
getPreAuthenticate()
Gets the value of the .NET property PreAuthenticate.
|
IDictionary_2 |
getProperties()
Gets the value of the .NET property Properties.
|
IWebProxy |
getProxy()
Gets the value of the .NET property Proxy.
|
Func_5 |
getServerCertificateCustomValidationCallback()
Gets the value of the .NET property ServerCertificateCustomValidationCallback.
|
SslProtocols |
getSslProtocols()
Gets the value of the .NET property SslProtocols.
|
boolean |
getSupportsAutomaticDecompression()
Gets the value of the .NET property SupportsAutomaticDecompression.
|
boolean |
getSupportsProxy()
Gets the value of the .NET property SupportsProxy.
|
boolean |
getSupportsRedirectConfiguration()
Gets the value of the .NET property SupportsRedirectConfiguration.
|
boolean |
getUseCookies()
Gets the value of the .NET property UseCookies.
|
boolean |
getUseDefaultCredentials()
Gets the value of the .NET property UseDefaultCredentials.
|
boolean |
getUseProxy()
Gets the value of the .NET property UseProxy.
|
void |
setAllowAutoRedirect(boolean AllowAutoRedirect)
Sets the value of the .NET property AllowAutoRedirect.
|
void |
setAutomaticDecompression(DecompressionMethods AutomaticDecompression)
Sets the value of the .NET property AutomaticDecompression.
|
void |
setCheckCertificateRevocationList(boolean CheckCertificateRevocationList)
Sets the value of the .NET property CheckCertificateRevocationList.
|
void |
setClientCertificateOptions(ClientCertificateOption ClientCertificateOptions)
Sets the value of the .NET property ClientCertificateOptions.
|
void |
setCookieContainer(CookieContainer CookieContainer)
Sets the value of the .NET property CookieContainer.
|
void |
setCredentials(ICredentials Credentials)
Sets the value of the .NET property Credentials.
|
void |
setDefaultProxyCredentials(ICredentials DefaultProxyCredentials)
Sets the value of the .NET property DefaultProxyCredentials.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMaxAutomaticRedirections(int MaxAutomaticRedirections)
Sets the value of the .NET property MaxAutomaticRedirections.
|
void |
setMaxConnectionsPerServer(int MaxConnectionsPerServer)
Sets the value of the .NET property MaxConnectionsPerServer.
|
void |
setMaxRequestContentBufferSize(long MaxRequestContentBufferSize)
Sets the value of the .NET property MaxRequestContentBufferSize.
|
void |
setMaxResponseHeadersLength(int MaxResponseHeadersLength)
Sets the value of the .NET property MaxResponseHeadersLength.
|
void |
setMeterFactory(IMeterFactory MeterFactory)
Sets the value of the .NET property MeterFactory.
|
void |
setPreAuthenticate(boolean PreAuthenticate)
Sets the value of the .NET property PreAuthenticate.
|
void |
setProxy(IWebProxy Proxy)
Sets the value of the .NET property Proxy.
|
void |
setServerCertificateCustomValidationCallback(Func_5 ServerCertificateCustomValidationCallback)
Sets the value of the .NET property ServerCertificateCustomValidationCallback.
|
void |
setSslProtocols(SslProtocols SslProtocols)
Sets the value of the .NET property SslProtocols.
|
void |
setUseCookies(boolean UseCookies)
Sets the value of the .NET property UseCookies.
|
void |
setUseDefaultCredentials(boolean UseDefaultCredentials)
Sets the value of the .NET property UseDefaultCredentials.
|
void |
setUseProxy(boolean UseProxy)
Sets the value of the .NET property UseProxy.
|
close, Disposepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public HttpClientHandler()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
ArgumentNullException,
EventSourceException,
ObjectDisposedException,
CryptographicException
java.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itEventSourceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic HttpClientHandler(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static HttpClientHandler cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into HttpClientHandler, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedHttpClientHandler instancejava.lang.Throwable - in case of error during cast operationpublic boolean getAllowAutoRedirect()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DecompressionMethods getAutomaticDecompression() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getCheckCertificateRevocationList()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ClientCertificateOption getClientCertificateOptions() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic X509CertificateCollection getClientCertificates() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic CookieContainer getCookieContainer() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic ICredentials getCredentials() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Func_5 getDangerousAcceptAnyServerCertificateValidator() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic ICredentials getDefaultProxyCredentials() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class HttpMessageHandlerpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class HttpMessageHandlerpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class HttpMessageHandlernull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class HttpMessageHandlerpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class HttpMessageHandlerpublic int getMaxAutomaticRedirections()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getMaxConnectionsPerServer()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic long getMaxRequestContentBufferSize()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getMaxResponseHeadersLength()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IMeterFactory getMeterFactory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getPreAuthenticate()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IDictionary_2 getProperties() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic IWebProxy getProxy() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Func_5 getServerCertificateCustomValidationCallback() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic SslProtocols getSslProtocols() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getSupportsAutomaticDecompression()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getSupportsProxy()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getSupportsRedirectConfiguration()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getUseCookies()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getUseDefaultCredentials()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getUseProxy()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAllowAutoRedirect(boolean AllowAutoRedirect)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException
AllowAutoRedirect - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setAutomaticDecompression(DecompressionMethods AutomaticDecompression) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException
AutomaticDecompression - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setCheckCertificateRevocationList(boolean CheckCertificateRevocationList)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException
CheckCertificateRevocationList - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setClientCertificateOptions(ClientCertificateOption ClientCertificateOptions) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, CryptographicException, OutOfMemoryException, FormatException, EventSourceException, ArgumentOutOfRangeException, MissingMethodException, TargetInvocationException
ClientCertificateOptions - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic void setCookieContainer(CookieContainer CookieContainer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
CookieContainer - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void setCredentials(ICredentials Credentials) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException
Credentials - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setDefaultProxyCredentials(ICredentials DefaultProxyCredentials) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException
DefaultProxyCredentials - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class HttpMessageHandlerinstance - the new underlying objectpublic void setMaxAutomaticRedirections(int MaxAutomaticRedirections)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException
MaxAutomaticRedirections - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setMaxConnectionsPerServer(int MaxConnectionsPerServer)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException
MaxConnectionsPerServer - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setMaxRequestContentBufferSize(long MaxRequestContentBufferSize)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException
MaxRequestContentBufferSize - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setMaxResponseHeadersLength(int MaxResponseHeadersLength)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException
MaxResponseHeadersLength - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setMeterFactory(IMeterFactory MeterFactory) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException
MeterFactory - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setPreAuthenticate(boolean PreAuthenticate)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException
PreAuthenticate - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setProxy(IWebProxy Proxy) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException
Proxy - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setServerCertificateCustomValidationCallback(Func_5 ServerCertificateCustomValidationCallback) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException
ServerCertificateCustomValidationCallback - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setSslProtocols(SslProtocols SslProtocols) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException
SslProtocols - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setUseCookies(boolean UseCookies)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException
UseCookies - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setUseDefaultCredentials(boolean UseDefaultCredentials)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException
UseDefaultCredentials - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setUseProxy(boolean UseProxy)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException
UseProxy - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises it