public class HttpClient extends HttpMessageInvoker
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Net.Http.HttpClient
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=8.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.HttpClient
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
HttpClient()
Initializes a new instance by invoking the .NET constructor.
|
HttpClient(HttpMessageHandler handler)
Initializes a new instance by invoking the .NET constructor.
|
HttpClient(HttpMessageHandler handler,
boolean disposeHandler)
Initializes a new instance by invoking the .NET constructor.
|
HttpClient(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CancelPendingRequests()
Invokes the .NET member CancelPendingRequests.
|
static HttpClient |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into HttpClient, a cast assert is made to check if types are compatible. |
Task_1 |
DeleteAsync(java.lang.String requestUri)
Invokes the .NET member DeleteAsync.
|
Task_1 |
DeleteAsync(java.lang.String requestUri,
CancellationToken cancellationToken)
Invokes the .NET member DeleteAsync.
|
Task_1 |
DeleteAsync(Uri requestUri)
Invokes the .NET member DeleteAsync.
|
Task_1 |
DeleteAsync(Uri requestUri,
CancellationToken cancellationToken)
Invokes the .NET member DeleteAsync.
|
Task_1 |
GetAsync(java.lang.String requestUri)
Invokes the .NET member GetAsync.
|
Task_1 |
GetAsync(java.lang.String requestUri,
CancellationToken cancellationToken)
Invokes the .NET member GetAsync.
|
Task_1 |
GetAsync(java.lang.String requestUri,
HttpCompletionOption completionOption)
Invokes the .NET member GetAsync.
|
Task_1 |
GetAsync(java.lang.String requestUri,
HttpCompletionOption completionOption,
CancellationToken cancellationToken)
Invokes the .NET member GetAsync.
|
Task_1 |
GetAsync(Uri requestUri)
Invokes the .NET member GetAsync.
|
Task_1 |
GetAsync(Uri requestUri,
CancellationToken cancellationToken)
Invokes the .NET member GetAsync.
|
Task_1 |
GetAsync(Uri requestUri,
HttpCompletionOption completionOption)
Invokes the .NET member GetAsync.
|
Task_1 |
GetAsync(Uri requestUri,
HttpCompletionOption completionOption,
CancellationToken cancellationToken)
Invokes the .NET member GetAsync.
|
Uri |
getBaseAddress()
Gets the value of the .NET property BaseAddress.
|
Task_1 |
GetByteArrayAsync(java.lang.String requestUri)
Invokes the .NET member GetByteArrayAsync.
|
Task_1 |
GetByteArrayAsync(java.lang.String requestUri,
CancellationToken cancellationToken)
Invokes the .NET member GetByteArrayAsync.
|
Task_1 |
GetByteArrayAsync(Uri requestUri)
Invokes the .NET member GetByteArrayAsync.
|
Task_1 |
GetByteArrayAsync(Uri requestUri,
CancellationToken cancellationToken)
Invokes the .NET member GetByteArrayAsync.
|
static IWebProxy |
getDefaultProxy()
Gets the value of the .NET property DefaultProxy.
|
HttpRequestHeaders |
getDefaultRequestHeaders()
Gets the value of the .NET property DefaultRequestHeaders.
|
Version |
getDefaultRequestVersion()
Gets the value of the .NET property DefaultRequestVersion.
|
HttpVersionPolicy |
getDefaultVersionPolicy()
Gets the value of the .NET property DefaultVersionPolicy.
|
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. |
long |
getMaxResponseContentBufferSize()
Gets the value of the .NET property MaxResponseContentBufferSize.
|
Task_1 |
GetStreamAsync(java.lang.String requestUri)
Invokes the .NET member GetStreamAsync.
|
Task_1 |
GetStreamAsync(java.lang.String requestUri,
CancellationToken cancellationToken)
Invokes the .NET member GetStreamAsync.
|
Task_1 |
GetStreamAsync(Uri requestUri)
Invokes the .NET member GetStreamAsync.
|
Task_1 |
GetStreamAsync(Uri requestUri,
CancellationToken cancellationToken)
Invokes the .NET member GetStreamAsync.
|
Task_1 |
GetStringAsync(java.lang.String requestUri)
Invokes the .NET member GetStringAsync.
|
Task_1 |
GetStringAsync(java.lang.String requestUri,
CancellationToken cancellationToken)
Invokes the .NET member GetStringAsync.
|
Task_1 |
GetStringAsync(Uri requestUri)
Invokes the .NET member GetStringAsync.
|
Task_1 |
GetStringAsync(Uri requestUri,
CancellationToken cancellationToken)
Invokes the .NET member GetStringAsync.
|
TimeSpan |
getTimeout()
Gets the value of the .NET property Timeout.
|
Task_1 |
PatchAsync(java.lang.String requestUri,
HttpContent content)
Invokes the .NET member PatchAsync.
|
Task_1 |
PatchAsync(java.lang.String requestUri,
HttpContent content,
CancellationToken cancellationToken)
Invokes the .NET member PatchAsync.
|
Task_1 |
PatchAsync(Uri requestUri,
HttpContent content)
Invokes the .NET member PatchAsync.
|
Task_1 |
PatchAsync(Uri requestUri,
HttpContent content,
CancellationToken cancellationToken)
Invokes the .NET member PatchAsync.
|
Task_1 |
PostAsync(java.lang.String requestUri,
HttpContent content)
Invokes the .NET member PostAsync.
|
Task_1 |
PostAsync(java.lang.String requestUri,
HttpContent content,
CancellationToken cancellationToken)
Invokes the .NET member PostAsync.
|
Task_1 |
PostAsync(Uri requestUri,
HttpContent content)
Invokes the .NET member PostAsync.
|
Task_1 |
PostAsync(Uri requestUri,
HttpContent content,
CancellationToken cancellationToken)
Invokes the .NET member PostAsync.
|
Task_1 |
PutAsync(java.lang.String requestUri,
HttpContent content)
Invokes the .NET member PutAsync.
|
Task_1 |
PutAsync(java.lang.String requestUri,
HttpContent content,
CancellationToken cancellationToken)
Invokes the .NET member PutAsync.
|
Task_1 |
PutAsync(Uri requestUri,
HttpContent content)
Invokes the .NET member PutAsync.
|
Task_1 |
PutAsync(Uri requestUri,
HttpContent content,
CancellationToken cancellationToken)
Invokes the .NET member PutAsync.
|
HttpResponseMessage |
Send(HttpRequestMessage request)
Invokes the .NET member Send.
|
HttpResponseMessage |
Send(HttpRequestMessage request,
CancellationToken cancellationToken)
Invokes the .NET member Send.
|
HttpResponseMessage |
Send(HttpRequestMessage request,
HttpCompletionOption completionOption)
Invokes the .NET member Send.
|
HttpResponseMessage |
Send(HttpRequestMessage request,
HttpCompletionOption completionOption,
CancellationToken cancellationToken)
Invokes the .NET member Send.
|
Task_1 |
SendAsync(HttpRequestMessage request)
Invokes the .NET member SendAsync.
|
Task_1 |
SendAsync(HttpRequestMessage request,
CancellationToken cancellationToken)
Invokes the .NET member SendAsync.
|
Task_1 |
SendAsync(HttpRequestMessage request,
HttpCompletionOption completionOption)
Invokes the .NET member SendAsync.
|
Task_1 |
SendAsync(HttpRequestMessage request,
HttpCompletionOption completionOption,
CancellationToken cancellationToken)
Invokes the .NET member SendAsync.
|
void |
setBaseAddress(Uri BaseAddress)
Sets the value of the .NET property BaseAddress.
|
static void |
setDefaultProxy(IWebProxy DefaultProxy)
Sets the value of the .NET property DefaultProxy.
|
void |
setDefaultRequestVersion(Version DefaultRequestVersion)
Sets the value of the .NET property DefaultRequestVersion.
|
void |
setDefaultVersionPolicy(HttpVersionPolicy DefaultVersionPolicy)
Sets the value of the .NET property DefaultVersionPolicy.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMaxResponseContentBufferSize(long MaxResponseContentBufferSize)
Sets the value of the .NET property MaxResponseContentBufferSize.
|
void |
setTimeout(TimeSpan Timeout)
Sets the value of the .NET property Timeout.
|
close, Disposepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public HttpClient()
throws java.lang.Throwable,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
ArrayTypeMismatchException,
ArgumentException,
FormatException,
ArgumentNullException,
ArgumentOutOfRangeException,
EventSourceException,
ObjectDisposedException,
CryptographicException
java.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic HttpClient(HttpMessageHandler handler) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, EventSourceException
handler - the argument of type HttpMessageHandlerjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic HttpClient(HttpMessageHandler handler, boolean disposeHandler) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, EventSourceException
handler - the argument of type HttpMessageHandlerdisposeHandler - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic HttpClient(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 void CancelPendingRequests()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
AggregateException
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 itArgumentNullException - if the .NET member raises itAggregateException - if the .NET member raises itpublic static HttpClient cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into HttpClient, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedHttpClient instancejava.lang.Throwable - in case of error during cast operationpublic Task_1 DeleteAsync(java.lang.String requestUri) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException
requestUri - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Task_1 DeleteAsync(java.lang.String requestUri, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException
requestUri - the argument of type java.lang.StringcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Task_1 DeleteAsync(Uri requestUri) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException
requestUri - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Task_1 DeleteAsync(Uri requestUri, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException
requestUri - the argument of type UricancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Task_1 GetAsync(java.lang.String requestUri) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException
requestUri - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Task_1 GetAsync(java.lang.String requestUri, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException, OutOfMemoryException
requestUri - the argument of type java.lang.StringcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Task_1 GetAsync(java.lang.String requestUri, HttpCompletionOption completionOption) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException, OutOfMemoryException
requestUri - the argument of type java.lang.StringcompletionOption - the argument of type HttpCompletionOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Task_1 GetAsync(java.lang.String requestUri, HttpCompletionOption completionOption, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException, OutOfMemoryException, OverflowException
requestUri - the argument of type java.lang.StringcompletionOption - the argument of type HttpCompletionOptioncancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itOverflowException - if the .NET member raises itpublic Task_1 GetAsync(Uri requestUri) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException
requestUri - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Task_1 GetAsync(Uri requestUri, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, OverflowException
requestUri - the argument of type UricancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itOverflowException - if the .NET member raises itpublic Task_1 GetAsync(Uri requestUri, HttpCompletionOption completionOption) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, OverflowException
requestUri - the argument of type UricompletionOption - the argument of type HttpCompletionOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itOverflowException - if the .NET member raises itpublic Task_1 GetAsync(Uri requestUri, HttpCompletionOption completionOption, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, UnreachableException, OverflowException
requestUri - the argument of type UricompletionOption - the argument of type HttpCompletionOptioncancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itOverflowException - if the .NET member raises itpublic Uri getBaseAddress() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Task_1 GetByteArrayAsync(java.lang.String requestUri) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException, OutOfMemoryException
requestUri - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Task_1 GetByteArrayAsync(java.lang.String requestUri, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException, OutOfMemoryException
requestUri - the argument of type java.lang.StringcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Task_1 GetByteArrayAsync(Uri requestUri) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, UnreachableException
requestUri - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itpublic Task_1 GetByteArrayAsync(Uri requestUri, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, CultureNotFoundException, UriFormatException
requestUri - the argument of type UricancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUriFormatException - if the .NET member raises itpublic static IWebProxy getDefaultProxy() throws java.lang.Throwable, MissingMethodException, TargetInvocationException, MissingMemberException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itMissingMemberException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itpublic HttpRequestHeaders getDefaultRequestHeaders() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Version getDefaultRequestVersion() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic HttpVersionPolicy getDefaultVersionPolicy() 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 HttpMessageInvokerpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class HttpMessageInvokerpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class HttpMessageInvokernull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class HttpMessageInvokerpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class HttpMessageInvokerpublic long getMaxResponseContentBufferSize()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Task_1 GetStreamAsync(java.lang.String requestUri) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException, OutOfMemoryException
requestUri - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Task_1 GetStreamAsync(java.lang.String requestUri, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException, OutOfMemoryException
requestUri - the argument of type java.lang.StringcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Task_1 GetStreamAsync(Uri requestUri) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, UnreachableException
requestUri - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itpublic Task_1 GetStreamAsync(Uri requestUri, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, CultureNotFoundException, UriFormatException
requestUri - the argument of type UricancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUriFormatException - if the .NET member raises itpublic Task_1 GetStringAsync(java.lang.String requestUri) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException, OutOfMemoryException
requestUri - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Task_1 GetStringAsync(java.lang.String requestUri, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException, OutOfMemoryException
requestUri - the argument of type java.lang.StringcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Task_1 GetStringAsync(Uri requestUri) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, UnreachableException
requestUri - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itpublic Task_1 GetStringAsync(Uri requestUri, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, CultureNotFoundException, UriFormatException
requestUri - the argument of type UricancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUriFormatException - if the .NET member raises itpublic TimeSpan getTimeout() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Task_1 PatchAsync(java.lang.String requestUri, HttpContent content) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException, OutOfMemoryException, EventSourceException
requestUri - the argument of type java.lang.Stringcontent - the argument of type HttpContentjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic Task_1 PatchAsync(java.lang.String requestUri, HttpContent content, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException, OutOfMemoryException, EventSourceException
requestUri - the argument of type java.lang.Stringcontent - the argument of type HttpContentcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic Task_1 PatchAsync(Uri requestUri, HttpContent content) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, EventSourceException
requestUri - the argument of type Uricontent - the argument of type HttpContentjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic Task_1 PatchAsync(Uri requestUri, HttpContent content, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, EventSourceException, ArgumentOutOfRangeException
requestUri - the argument of type Uricontent - the argument of type HttpContentcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic Task_1 PostAsync(java.lang.String requestUri, HttpContent content) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException, OutOfMemoryException, EventSourceException
requestUri - the argument of type java.lang.Stringcontent - the argument of type HttpContentjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic Task_1 PostAsync(java.lang.String requestUri, HttpContent content, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException, OutOfMemoryException, EventSourceException
requestUri - the argument of type java.lang.Stringcontent - the argument of type HttpContentcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic Task_1 PostAsync(Uri requestUri, HttpContent content) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, EventSourceException
requestUri - the argument of type Uricontent - the argument of type HttpContentjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic Task_1 PostAsync(Uri requestUri, HttpContent content, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, EventSourceException, ArgumentOutOfRangeException
requestUri - the argument of type Uricontent - the argument of type HttpContentcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic Task_1 PutAsync(java.lang.String requestUri, HttpContent content) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException, OutOfMemoryException, EventSourceException
requestUri - the argument of type java.lang.Stringcontent - the argument of type HttpContentjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic Task_1 PutAsync(java.lang.String requestUri, HttpContent content, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, UnreachableException, ObjectDisposedException, OutOfMemoryException, EventSourceException
requestUri - the argument of type java.lang.Stringcontent - the argument of type HttpContentcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic Task_1 PutAsync(Uri requestUri, HttpContent content) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, EventSourceException
requestUri - the argument of type Uricontent - the argument of type HttpContentjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic Task_1 PutAsync(Uri requestUri, HttpContent content, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, EventSourceException, ArgumentOutOfRangeException
requestUri - the argument of type Uricontent - the argument of type HttpContentcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic HttpResponseMessage Send(HttpRequestMessage request) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, UnreachableException, OverflowException, FormatException
request - the argument of type HttpRequestMessagejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic HttpResponseMessage Send(HttpRequestMessage request, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, UnreachableException, OverflowException, FormatException
Send in class HttpMessageInvokerrequest - the argument of type HttpRequestMessagecancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic HttpResponseMessage Send(HttpRequestMessage request, HttpCompletionOption completionOption) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, UnreachableException, OverflowException, FormatException
request - the argument of type HttpRequestMessagecompletionOption - the argument of type HttpCompletionOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic HttpResponseMessage Send(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, PlatformNotSupportedException, CultureNotFoundException, UriFormatException, OverflowException, FormatException, TaskSchedulerException
request - the argument of type HttpRequestMessagecompletionOption - the argument of type HttpCompletionOptioncancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUriFormatException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic Task_1 SendAsync(HttpRequestMessage request) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, UnreachableException, OverflowException
request - the argument of type HttpRequestMessagejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itOverflowException - if the .NET member raises itpublic Task_1 SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, UnreachableException, OverflowException
SendAsync in class HttpMessageInvokerrequest - the argument of type HttpRequestMessagecancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itOverflowException - if the .NET member raises itpublic Task_1 SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, UnreachableException, OverflowException
request - the argument of type HttpRequestMessagecompletionOption - the argument of type HttpCompletionOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itOverflowException - if the .NET member raises itpublic Task_1 SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, PlatformNotSupportedException, CultureNotFoundException, UriFormatException, OverflowException
request - the argument of type HttpRequestMessagecompletionOption - the argument of type HttpCompletionOptioncancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUriFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void setBaseAddress(Uri BaseAddress) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, OutOfMemoryException, EventSourceException
BaseAddress - the new value of the propertyjava.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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic static void setDefaultProxy(IWebProxy DefaultProxy) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
DefaultProxy - 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 setDefaultRequestVersion(Version DefaultRequestVersion) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
DefaultRequestVersion - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setDefaultVersionPolicy(HttpVersionPolicy DefaultVersionPolicy) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
DefaultVersionPolicy - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class HttpMessageInvokerinstance - the new underlying objectpublic void setMaxResponseContentBufferSize(long MaxResponseContentBufferSize)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException
MaxResponseContentBufferSize - 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 setTimeout(TimeSpan Timeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
Timeout - 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 it