public class FtpWebRequest extends WebRequest
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.FtpWebRequest
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=10.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.FtpWebRequest
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
FtpWebRequest() |
FtpWebRequest(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Abort() |
IAsyncResult |
BeginGetRequestStream(AsyncCallback callback,
NetObject state) |
IAsyncResult |
BeginGetResponse(AsyncCallback callback,
NetObject state) |
static FtpWebRequest |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into FtpWebRequest, a cast assert is made to check if types are compatible. |
Stream |
EndGetRequestStream(IAsyncResult asyncResult) |
WebResponse |
EndGetResponse(IAsyncResult asyncResult) |
X509CertificateCollection |
getClientCertificates() |
long |
getContentOffset() |
static RequestCachePolicy |
getDefaultCachePolicy() |
boolean |
getEnableSsl() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
boolean |
getKeepAlive() |
int |
getReadWriteTimeout() |
java.lang.String |
getRenameTo() |
Stream |
GetRequestStream() |
WebResponse |
GetResponse() |
ServicePoint |
getServicePoint() |
boolean |
getUseBinary() |
boolean |
getUsePassive() |
void |
setClientCertificates(X509CertificateCollection ClientCertificates) |
void |
setContentOffset(long ContentOffset) |
static void |
setDefaultCachePolicy(RequestCachePolicy DefaultCachePolicy) |
void |
setEnableSsl(boolean EnableSsl) |
void |
setJCOInstance(JCObject instance) |
void |
setKeepAlive(boolean KeepAlive) |
void |
setReadWriteTimeout(int ReadWriteTimeout) |
void |
setRenameTo(java.lang.String RenameTo) |
void |
setUseBinary(boolean UseBinary) |
void |
setUsePassive(boolean UsePassive) |
Create, Create, CreateDefault, CreateHttp, CreateHttp, getAuthenticationLevel, getCachePolicy, getConnectionGroupName, getContentLength, getContentType, getCredentials, getDefaultWebProxy, getHeaders, getImpersonationLevel, getMethod, getPreAuthenticate, getProxy, getRequestUri, GetSystemWebProxy, getTimeout, getUseDefaultCredentials, RegisterPrefix, setAuthenticationLevel, setCachePolicy, setConnectionGroupName, setContentLength, setContentType, setCredentials, setDefaultWebProxy, setHeaders, setImpersonationLevel, setMethod, setPreAuthenticate, setProxy, setTimeout, setUseDefaultCredentialsGetLifetimeService, InitializeLifetimeServiceEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringGetObjectData, ToISerializablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public FtpWebRequest()
throws java.lang.Throwable
java.lang.Throwablepublic FtpWebRequest(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Abort()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException,
IOException,
WebException
Abort in class WebRequestjava.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionArgumentExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionIOExceptionWebExceptionpublic IAsyncResult BeginGetRequestStream(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, KeyNotFoundException, ProtocolViolationException, SocketException, IOException, WebException, ObjectDisposedException, ArrayTypeMismatchException, SecurityException
BeginGetRequestStream in class WebRequestjava.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionProtocolViolationExceptionSocketExceptionIOExceptionWebExceptionObjectDisposedExceptionArrayTypeMismatchExceptionSecurityExceptionpublic IAsyncResult BeginGetResponse(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, KeyNotFoundException, ObjectDisposedException, TaskSchedulerException, SocketException, IOException, WebException, SecurityException, ArrayTypeMismatchException
BeginGetResponse in class WebRequestjava.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionObjectDisposedExceptionTaskSchedulerExceptionSocketExceptionIOExceptionWebExceptionSecurityExceptionArrayTypeMismatchExceptionpublic static FtpWebRequest cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into FtpWebRequest, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedFtpWebRequest instancejava.lang.Throwable - in case of error during cast operationpublic Stream EndGetRequestStream(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, FormatException, EventSourceException, AbandonedMutexException
EndGetRequestStream in class WebRequestjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionNullReferenceExceptionFormatExceptionEventSourceExceptionAbandonedMutexExceptionpublic WebResponse EndGetResponse(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, FormatException, EventSourceException, AbandonedMutexException
EndGetResponse in class WebRequestjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionNullReferenceExceptionFormatExceptionEventSourceExceptionAbandonedMutexExceptionpublic X509CertificateCollection getClientCertificates() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException
public long getContentOffset()
throws java.lang.Throwable
java.lang.Throwablepublic static RequestCachePolicy getDefaultCachePolicy() throws java.lang.Throwable
java.lang.Throwablepublic boolean getEnableSsl()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ISerializablegetJCOAssemblyName in class WebRequestString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ISerializablegetJCOClassName in class WebRequestString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ISerializablegetJCOInstance in class WebRequestObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ISerializablegetJCOObjectName in class WebRequestString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface ISerializablegetJCOType in class WebRequestJCType representing the CLR Type of the instantiated Classpublic boolean getKeepAlive()
throws java.lang.Throwable
java.lang.Throwablepublic int getReadWriteTimeout()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getRenameTo()
throws java.lang.Throwable
java.lang.Throwablepublic Stream GetRequestStream() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, KeyNotFoundException, ProtocolViolationException, WebException, SocketException, IOException, ObjectDisposedException, ArrayTypeMismatchException
GetRequestStream in class WebRequestjava.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionProtocolViolationExceptionWebExceptionSocketExceptionIOExceptionObjectDisposedExceptionArrayTypeMismatchExceptionpublic WebResponse GetResponse() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, KeyNotFoundException, WebException, SocketException, IOException, ObjectDisposedException, AbandonedMutexException, ArrayTypeMismatchException
GetResponse in class WebRequestjava.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionWebExceptionSocketExceptionIOExceptionObjectDisposedExceptionAbandonedMutexExceptionArrayTypeMismatchExceptionpublic ServicePoint getServicePoint() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, UriFormatException, CultureNotFoundException, FormatException, InvalidTimeZoneException, OverflowException, RankException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionUriFormatExceptionCultureNotFoundExceptionFormatExceptionInvalidTimeZoneExceptionOverflowExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic boolean getUseBinary()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getUsePassive()
throws java.lang.Throwable
java.lang.Throwablepublic void setClientCertificates(X509CertificateCollection ClientCertificates) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void setContentOffset(long ContentOffset)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public static void setDefaultCachePolicy(RequestCachePolicy DefaultCachePolicy) throws java.lang.Throwable
java.lang.Throwablepublic void setEnableSsl(boolean EnableSsl)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public void setJCOInstance(JCObject instance)
setJCOInstance in class WebRequestpublic void setKeepAlive(boolean KeepAlive)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public void setReadWriteTimeout(int ReadWriteTimeout)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public void setRenameTo(java.lang.String RenameTo)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public void setUseBinary(boolean UseBinary)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public void setUsePassive(boolean UsePassive)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException