public class FileWebRequest extends WebRequest
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Net.FileWebRequest
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.Requests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.Requests
|
static java.lang.String |
className
Qualified class name: System.Net.FileWebRequest
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
FileWebRequest() |
FileWebRequest(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Abort()
Invokes the .NET member Abort.
|
IAsyncResult |
BeginGetRequestStream(AsyncCallback callback,
NetObject state)
Invokes the .NET member BeginGetRequestStream.
|
IAsyncResult |
BeginGetResponse(AsyncCallback callback,
NetObject state)
Invokes the .NET member BeginGetResponse.
|
static FileWebRequest |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into FileWebRequest, a cast assert is made to check if types are compatible. |
Stream |
EndGetRequestStream(IAsyncResult asyncResult)
Invokes the .NET member EndGetRequestStream.
|
WebResponse |
EndGetResponse(IAsyncResult asyncResult)
Invokes the .NET member EndGetResponse.
|
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. |
Stream |
GetRequestStream()
Invokes the .NET member GetRequestStream.
|
Task_1 |
GetRequestStreamAsync()
Invokes the .NET member GetRequestStreamAsync.
|
WebResponse |
GetResponse()
Invokes the .NET member GetResponse.
|
Task_1 |
GetResponseAsync()
Invokes the .NET member GetResponseAsync.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
Create, Create, CreateDefault, CreateHttp, CreateHttp, getAuthenticationLevel, getCachePolicy, getConnectionGroupName, getContentLength, getContentType, getCredentials, getDefaultCachePolicy, getDefaultWebProxy, getHeaders, getImpersonationLevel, getMethod, getPreAuthenticate, getProxy, getRequestUri, GetSystemWebProxy, getTimeout, getUseDefaultCredentials, RegisterPrefix, setAuthenticationLevel, setCachePolicy, setConnectionGroupName, setContentLength, setContentType, setCredentials, setDefaultCachePolicy, setDefaultWebProxy, setHeaders, setImpersonationLevel, setMethod, setPreAuthenticate, setProxy, setTimeout, setUseDefaultCredentialsGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public FileWebRequest()
throws java.lang.Throwable
java.lang.Throwablepublic FileWebRequest(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 Abort()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException
Abort in class WebRequestjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic IAsyncResult BeginGetRequestStream(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, WebException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, NotSupportedException, ProtocolViolationException, InvalidOperationException, UriFormatException, ArrayTypeMismatchException, EventSourceException
BeginGetRequestStream in class WebRequestcallback - the argument of type AsyncCallbackstate - the argument of type NetObjectjava.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 itCultureNotFoundException - if the .NET member raises itWebException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itNotSupportedException - if the .NET member raises itProtocolViolationException - if the .NET member raises itInvalidOperationException - if the .NET member raises itUriFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic IAsyncResult BeginGetResponse(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, WebException, InvalidOperationException, ObjectDisposedException, OperationCanceledException, OutOfMemoryException, UriFormatException, FormatException, IndexOutOfRangeException, NotSupportedException, EventSourceException
BeginGetResponse in class WebRequestcallback - the argument of type AsyncCallbackstate - the argument of type NetObjectjava.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 itCultureNotFoundException - if the .NET member raises itWebException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUriFormatException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic static FileWebRequest cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into FileWebRequest, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedFileWebRequest instancejava.lang.Throwable - in case of error during cast operationpublic Stream EndGetRequestStream(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
EndGetRequestStream in class WebRequestasyncResult - the argument of type IAsyncResultjava.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 itPlatformNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic WebResponse EndGetResponse(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
EndGetResponse in class WebRequestasyncResult - the argument of type IAsyncResultjava.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 itPlatformNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class WebRequestpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class WebRequestpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class WebRequestnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class WebRequestpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class WebRequestpublic Stream GetRequestStream() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, ArrayTypeMismatchException, AbandonedMutexException, WebException
GetRequestStream in class WebRequestjava.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 itArrayTypeMismatchException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itWebException - if the .NET member raises itpublic Task_1 GetRequestStreamAsync() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, WebException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, NotSupportedException, ProtocolViolationException, InvalidOperationException, UriFormatException, ArrayTypeMismatchException, EventSourceException
GetRequestStreamAsync in class WebRequestjava.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 itCultureNotFoundException - if the .NET member raises itWebException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itNotSupportedException - if the .NET member raises itProtocolViolationException - if the .NET member raises itInvalidOperationException - if the .NET member raises itUriFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic WebResponse GetResponse() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, ArrayTypeMismatchException, AbandonedMutexException, WebException
GetResponse in class WebRequestjava.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 itArrayTypeMismatchException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itWebException - if the .NET member raises itpublic Task_1 GetResponseAsync() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, WebException, InvalidOperationException, ObjectDisposedException, OperationCanceledException, OutOfMemoryException, UriFormatException, FormatException, IndexOutOfRangeException, NotSupportedException, EventSourceException
GetResponseAsync in class WebRequestjava.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 itCultureNotFoundException - if the .NET member raises itWebException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUriFormatException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class WebRequestinstance - the new underlying object