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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System
|
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, getCreatorInstance, getCredentials, getDefaultWebProxy, getHeaders, getImpersonationLevel, getMethod, getPreAuthenticate, getProxy, getRequestUri, GetSystemWebProxy, getTimeout, getUseDefaultCredentials, RegisterPortableWebRequestCreator, RegisterPrefix, setAuthenticationLevel, setCachePolicy, setConnectionGroupName, setContentLength, setContentType, setCredentials, setDefaultWebProxy, setHeaders, setImpersonationLevel, setMethod, setPreAuthenticate, setProxy, setTimeout, setUseDefaultCredentialsCreateObjRef, GetLifetimeService, 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,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
ConfigurationException,
ConfigurationErrorsException,
OverflowException,
MulticastNotSupportedException,
InvalidOperationException,
OutOfMemoryException,
SecurityException,
InvalidCastException,
MissingMethodException,
UriFormatException,
ObjectDisposedException,
AbandonedMutexException,
NotImplementedException,
IndexOutOfRangeException
Abort in class WebRequestjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionSecurityExceptionInvalidCastExceptionMissingMethodExceptionUriFormatExceptionObjectDisposedExceptionAbandonedMutexExceptionNotImplementedExceptionIndexOutOfRangeExceptionpublic IAsyncResult BeginGetRequestStream(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ProtocolViolationException, SecurityException, InvalidCastException, MissingMethodException, UriFormatException, ObjectDisposedException, AbandonedMutexException, NotImplementedException, IndexOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, RankException, WaitHandleCannotBeOpenedException, WebException, SocketException, TaskSchedulerException
BeginGetRequestStream in class WebRequestjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionProtocolViolationExceptionSecurityExceptionInvalidCastExceptionMissingMethodExceptionUriFormatExceptionObjectDisposedExceptionAbandonedMutexExceptionNotImplementedExceptionIndexOutOfRangeExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionRankExceptionWaitHandleCannotBeOpenedExceptionWebExceptionSocketExceptionTaskSchedulerExceptionpublic IAsyncResult BeginGetResponse(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SynchronizationLockException, SecurityException, InvalidCastException, MissingMethodException, UriFormatException, NotImplementedException, IndexOutOfRangeException, ObjectDisposedException, RankException, AbandonedMutexException, WaitHandleCannotBeOpenedException, WebException, SocketException, TaskSchedulerException
BeginGetResponse in class WebRequestjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSynchronizationLockExceptionSecurityExceptionInvalidCastExceptionMissingMethodExceptionUriFormatExceptionNotImplementedExceptionIndexOutOfRangeExceptionObjectDisposedExceptionRankExceptionAbandonedMutexExceptionWaitHandleCannotBeOpenedExceptionWebExceptionSocketExceptionTaskSchedulerExceptionpublic 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, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, SecurityException, InvalidCastException, MissingMethodException, UriFormatException, ObjectDisposedException, AbandonedMutexException, NotImplementedException, IndexOutOfRangeException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
EndGetRequestStream in class WebRequestjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionSecurityExceptionInvalidCastExceptionMissingMethodExceptionUriFormatExceptionObjectDisposedExceptionAbandonedMutexExceptionNotImplementedExceptionIndexOutOfRangeExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic WebResponse EndGetResponse(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, SecurityException, InvalidCastException, MissingMethodException, UriFormatException, ObjectDisposedException, AbandonedMutexException, NotImplementedException, IndexOutOfRangeException, WebException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
EndGetResponse in class WebRequestjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionSecurityExceptionInvalidCastExceptionMissingMethodExceptionUriFormatExceptionObjectDisposedExceptionAbandonedMutexExceptionNotImplementedExceptionIndexOutOfRangeExceptionWebExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic X509CertificateCollection getClientCertificates() throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic long getContentOffset()
throws java.lang.Throwable
java.lang.Throwablepublic static RequestCachePolicy getDefaultCachePolicy() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, InvalidOperationException, NotSupportedException, MissingManifestResourceException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException
public 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, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, NotImplementedException, ProtocolViolationException, SecurityException, InvalidCastException, MissingMethodException, UriFormatException, ObjectDisposedException, AbandonedMutexException, WebException, IndexOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, RankException, WaitHandleCannotBeOpenedException, SocketException, TaskSchedulerException
GetRequestStream in class WebRequestjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionNotImplementedExceptionProtocolViolationExceptionSecurityExceptionInvalidCastExceptionMissingMethodExceptionUriFormatExceptionObjectDisposedExceptionAbandonedMutexExceptionWebExceptionIndexOutOfRangeExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionRankExceptionWaitHandleCannotBeOpenedExceptionSocketExceptionTaskSchedulerExceptionpublic WebResponse GetResponse() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, NotImplementedException, ObjectDisposedException, SecurityException, InvalidCastException, MissingMethodException, UriFormatException, AbandonedMutexException, WebException, IndexOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, RankException, WaitHandleCannotBeOpenedException, SocketException, TaskSchedulerException
GetResponse in class WebRequestjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionNotImplementedExceptionObjectDisposedExceptionSecurityExceptionInvalidCastExceptionMissingMethodExceptionUriFormatExceptionAbandonedMutexExceptionWebExceptionIndexOutOfRangeExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionRankExceptionWaitHandleCannotBeOpenedExceptionSocketExceptionTaskSchedulerExceptionpublic ServicePoint getServicePoint() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, ConfigurationException, SecurityException, OutOfMemoryException, TypeLoadException, ConfigurationErrorsException, InvalidCastException, UriFormatException, OverflowException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionConfigurationExceptionSecurityExceptionOutOfMemoryExceptionTypeLoadExceptionConfigurationErrorsExceptionInvalidCastExceptionUriFormatExceptionOverflowExceptionpublic 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, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void setContentOffset(long ContentOffset)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public static void setDefaultCachePolicy(RequestCachePolicy DefaultCachePolicy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, InvalidOperationException, NotSupportedException, MissingManifestResourceException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException
public void setEnableSsl(boolean EnableSsl)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void setJCOInstance(JCObject instance)
setJCOInstance in class WebRequestpublic void setKeepAlive(boolean KeepAlive)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void setReadWriteTimeout(int ReadWriteTimeout)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void setRenameTo(java.lang.String RenameTo)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void setUseBinary(boolean UseBinary)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void setUsePassive(boolean UsePassive)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException