public class HttpWebRequest extends WebRequest
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.HttpWebRequest
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.HttpWebRequest
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
HttpWebRequest() |
HttpWebRequest(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Abort() |
void |
AddRange(int range) |
void |
AddRange(int from,
int to) |
void |
AddRange(long range) |
void |
AddRange(long from,
long to) |
void |
AddRange(java.lang.String rangeSpecifier,
int range) |
void |
AddRange(java.lang.String rangeSpecifier,
int from,
int to) |
void |
AddRange(java.lang.String rangeSpecifier,
long range) |
void |
AddRange(java.lang.String rangeSpecifier,
long from,
long to) |
IAsyncResult |
BeginGetRequestStream(AsyncCallback callback,
NetObject state) |
IAsyncResult |
BeginGetResponse(AsyncCallback callback,
NetObject state) |
static HttpWebRequest |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into HttpWebRequest, a cast assert is made to check if types are compatible. |
Stream |
EndGetRequestStream(IAsyncResult asyncResult) |
Stream |
EndGetRequestStream(IAsyncResult asyncResult,
JCORefOut<TransportContext> context) |
WebResponse |
EndGetResponse(IAsyncResult asyncResult) |
java.lang.String |
getAccept() |
Uri |
getAddress() |
boolean |
getAllowAutoRedirect() |
boolean |
getAllowReadStreamBuffering() |
boolean |
getAllowWriteStreamBuffering() |
DecompressionMethods |
getAutomaticDecompression() |
X509CertificateCollection |
getClientCertificates() |
java.lang.String |
getConnection() |
HttpContinueDelegate |
getContinueDelegate() |
int |
getContinueTimeout() |
CookieContainer |
getCookieContainer() |
DateTime |
getDate() |
static RequestCachePolicy |
getDefaultCachePolicy() |
static int |
getDefaultMaximumErrorResponseLength() |
static int |
getDefaultMaximumResponseHeadersLength() |
java.lang.String |
getExpect() |
boolean |
getHaveResponse() |
java.lang.String |
getHost() |
DateTime |
getIfModifiedSince() |
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 |
getMaximumAutomaticRedirections() |
int |
getMaximumResponseHeadersLength() |
java.lang.String |
getMediaType() |
boolean |
getPipelined() |
Version |
getProtocolVersion() |
int |
getReadWriteTimeout() |
java.lang.String |
getReferer() |
Stream |
GetRequestStream() |
Stream |
GetRequestStream(JCORefOut<TransportContext> context) |
WebResponse |
GetResponse() |
boolean |
getSendChunked() |
RemoteCertificateValidationCallback |
getServerCertificateValidationCallback() |
ServicePoint |
getServicePoint() |
boolean |
getSupportsCookieContainer() |
java.lang.String |
getTransferEncoding() |
boolean |
getUnsafeAuthenticatedConnectionSharing() |
java.lang.String |
getUserAgent() |
void |
setAccept(java.lang.String Accept) |
void |
setAllowAutoRedirect(boolean AllowAutoRedirect) |
void |
setAllowReadStreamBuffering(boolean AllowReadStreamBuffering) |
void |
setAllowWriteStreamBuffering(boolean AllowWriteStreamBuffering) |
void |
setAutomaticDecompression(DecompressionMethods AutomaticDecompression) |
void |
setClientCertificates(X509CertificateCollection ClientCertificates) |
void |
setConnection(java.lang.String Connection) |
void |
setContinueDelegate(HttpContinueDelegate ContinueDelegate) |
void |
setContinueTimeout(int ContinueTimeout) |
void |
setCookieContainer(CookieContainer CookieContainer) |
void |
setDate(DateTime Date) |
static void |
setDefaultCachePolicy(RequestCachePolicy DefaultCachePolicy) |
static void |
setDefaultMaximumErrorResponseLength(int DefaultMaximumErrorResponseLength) |
static void |
setDefaultMaximumResponseHeadersLength(int DefaultMaximumResponseHeadersLength) |
void |
setExpect(java.lang.String Expect) |
void |
setHost(java.lang.String Host) |
void |
setIfModifiedSince(DateTime IfModifiedSince) |
void |
setJCOInstance(JCObject instance) |
void |
setKeepAlive(boolean KeepAlive) |
void |
setMaximumAutomaticRedirections(int MaximumAutomaticRedirections) |
void |
setMaximumResponseHeadersLength(int MaximumResponseHeadersLength) |
void |
setMediaType(java.lang.String MediaType) |
void |
setPipelined(boolean Pipelined) |
void |
setProtocolVersion(Version ProtocolVersion) |
void |
setReadWriteTimeout(int ReadWriteTimeout) |
void |
setReferer(java.lang.String Referer) |
void |
setSendChunked(boolean SendChunked) |
void |
setServerCertificateValidationCallback(RemoteCertificateValidationCallback ServerCertificateValidationCallback) |
void |
setTransferEncoding(java.lang.String TransferEncoding) |
void |
setUnsafeAuthenticatedConnectionSharing(boolean UnsafeAuthenticatedConnectionSharing) |
void |
setUserAgent(java.lang.String UserAgent) |
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 HttpWebRequest()
throws java.lang.Throwable
java.lang.Throwablepublic HttpWebRequest(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Abort()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
ConfigurationException,
ConfigurationErrorsException,
MissingManifestResourceException,
InvalidCastException,
MulticastNotSupportedException,
InvalidOperationException,
OutOfMemoryException,
SecurityException,
NullReferenceException,
PlatformNotSupportedException,
IndexOutOfRangeException,
NotImplementedException,
Win32Exception,
NotSupportedException,
SynchronizationLockException,
CookieException,
RankException,
ObjectDisposedException,
WebException,
SocketException
Abort in class WebRequestjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionConfigurationExceptionConfigurationErrorsExceptionMissingManifestResourceExceptionInvalidCastExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionSecurityExceptionNullReferenceExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionNotImplementedExceptionWin32ExceptionNotSupportedExceptionSynchronizationLockExceptionCookieExceptionRankExceptionObjectDisposedExceptionWebExceptionSocketExceptionpublic void AddRange(int range)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNotSupportedExceptionpublic void AddRange(int from,
int to)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNotSupportedExceptionpublic void AddRange(long range)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNotSupportedExceptionpublic void AddRange(long from,
long to)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNotSupportedExceptionpublic void AddRange(java.lang.String rangeSpecifier,
int range)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNotSupportedExceptionpublic void AddRange(java.lang.String rangeSpecifier,
int from,
int to)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNotSupportedExceptionpublic void AddRange(java.lang.String rangeSpecifier,
long range)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void AddRange(java.lang.String rangeSpecifier,
long from,
long to)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public IAsyncResult BeginGetRequestStream(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ProtocolViolationException, NotImplementedException, SecurityException, InvalidCastException, MissingMethodException, UriFormatException, ObjectDisposedException, AbandonedMutexException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SynchronizationLockException, PlatformNotSupportedException, IndexOutOfRangeException, Win32Exception, CookieException, RankException, WebException, SocketException
BeginGetRequestStream in class WebRequestjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionProtocolViolationExceptionNotImplementedExceptionSecurityExceptionInvalidCastExceptionMissingMethodExceptionUriFormatExceptionObjectDisposedExceptionAbandonedMutexExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSynchronizationLockExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionWin32ExceptionCookieExceptionRankExceptionWebExceptionSocketExceptionpublic IAsyncResult BeginGetResponse(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ProtocolViolationException, NotImplementedException, SecurityException, InvalidCastException, MissingMethodException, UriFormatException, ObjectDisposedException, AbandonedMutexException, PlatformNotSupportedException, IndexOutOfRangeException, Win32Exception, SynchronizationLockException, CookieException, RankException, WebException, SocketException
BeginGetResponse in class WebRequestjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionProtocolViolationExceptionNotImplementedExceptionSecurityExceptionInvalidCastExceptionMissingMethodExceptionUriFormatExceptionObjectDisposedExceptionAbandonedMutexExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionWin32ExceptionSynchronizationLockExceptionCookieExceptionRankExceptionWebExceptionSocketExceptionpublic static HttpWebRequest cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into HttpWebRequest, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedHttpWebRequest instancejava.lang.Throwable - in case of error during cast operationpublic Stream EndGetRequestStream(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, MissingManifestResourceException, InvalidCastException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ObjectDisposedException, AbandonedMutexException, NotSupportedException
EndGetRequestStream in class WebRequestjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionConfigurationExceptionConfigurationErrorsExceptionMissingManifestResourceExceptionInvalidCastExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionObjectDisposedExceptionAbandonedMutexExceptionNotSupportedExceptionpublic Stream EndGetRequestStream(IAsyncResult asyncResult, JCORefOut<TransportContext> context) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ObjectDisposedException, AbandonedMutexException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionObjectDisposedExceptionAbandonedMutexExceptionpublic WebResponse EndGetResponse(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ObjectDisposedException, AbandonedMutexException, SecurityException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, NotImplementedException, Win32Exception, LockRecursionException, SynchronizationLockException
EndGetResponse in class WebRequestjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionObjectDisposedExceptionAbandonedMutexExceptionSecurityExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionNotImplementedExceptionWin32ExceptionLockRecursionExceptionSynchronizationLockExceptionpublic java.lang.String getAccept()
throws java.lang.Throwable,
ArgumentNullException,
ObjectDisposedException,
AbandonedMutexException,
ArgumentOutOfRangeException,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionpublic Uri getAddress() throws java.lang.Throwable
java.lang.Throwablepublic boolean getAllowAutoRedirect()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getAllowReadStreamBuffering()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getAllowWriteStreamBuffering()
throws java.lang.Throwable
java.lang.Throwablepublic DecompressionMethods getAutomaticDecompression() throws java.lang.Throwable
java.lang.Throwablepublic X509CertificateCollection getClientCertificates() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getConnection()
throws java.lang.Throwable,
ArgumentNullException,
ObjectDisposedException,
AbandonedMutexException,
ArgumentOutOfRangeException,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionpublic HttpContinueDelegate getContinueDelegate() throws java.lang.Throwable
java.lang.Throwablepublic int getContinueTimeout()
throws java.lang.Throwable
java.lang.Throwablepublic CookieContainer getCookieContainer() throws java.lang.Throwable
java.lang.Throwablepublic DateTime getDate() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, OutOfMemoryException, CultureNotFoundException, ArgumentException, OverflowException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, InvalidOperationException, ProtocolViolationException
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionArgumentExceptionOverflowExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionInvalidOperationExceptionProtocolViolationExceptionpublic static RequestCachePolicy getDefaultCachePolicy() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, InvalidOperationException, NotSupportedException, MissingManifestResourceException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException
public static int getDefaultMaximumErrorResponseLength()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
InvalidOperationException,
ConfigurationErrorsException,
KeyNotFoundException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ConfigurationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationExceptionpublic static int getDefaultMaximumResponseHeadersLength()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
InvalidOperationException,
ConfigurationErrorsException,
KeyNotFoundException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ConfigurationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionInvalidOperationExceptionConfigurationErrorsExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationExceptionpublic java.lang.String getExpect()
throws java.lang.Throwable,
ArgumentNullException,
ObjectDisposedException,
AbandonedMutexException,
ArgumentOutOfRangeException,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionpublic boolean getHaveResponse()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getHost()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
UriFormatException,
IndexOutOfRangeException,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionUriFormatExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionpublic DateTime getIfModifiedSince() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, OutOfMemoryException, CultureNotFoundException, ArgumentException, OverflowException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, InvalidOperationException, ProtocolViolationException
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionArgumentExceptionOverflowExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionInvalidOperationExceptionProtocolViolationExceptionpublic 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 getMaximumAutomaticRedirections()
throws java.lang.Throwable
java.lang.Throwablepublic int getMaximumResponseHeadersLength()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getMediaType()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getPipelined()
throws java.lang.Throwable
java.lang.Throwablepublic Version getProtocolVersion() throws java.lang.Throwable
java.lang.Throwablepublic int getReadWriteTimeout()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getReferer()
throws java.lang.Throwable,
ArgumentNullException,
ObjectDisposedException,
AbandonedMutexException,
ArgumentOutOfRangeException,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionpublic Stream GetRequestStream() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, InvalidCastException, MulticastNotSupportedException, OutOfMemoryException, ProtocolViolationException, SecurityException, UriFormatException, CultureNotFoundException, SystemException, CookieException, WebException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
GetRequestStream in class WebRequestjava.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionConfigurationExceptionConfigurationErrorsExceptionInvalidCastExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionProtocolViolationExceptionSecurityExceptionUriFormatExceptionCultureNotFoundExceptionSystemExceptionCookieExceptionWebExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic Stream GetRequestStream(JCORefOut<TransportContext> context) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, OutOfMemoryException, ProtocolViolationException, SecurityException, InvalidCastException, MissingMethodException, UriFormatException, SystemException, CookieException, WebException, WaitHandleCannotBeOpenedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionProtocolViolationExceptionSecurityExceptionInvalidCastExceptionMissingMethodExceptionUriFormatExceptionSystemExceptionCookieExceptionWebExceptionWaitHandleCannotBeOpenedExceptionpublic WebResponse GetResponse() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, OutOfMemoryException, ProtocolViolationException, SecurityException, InvalidCastException, MissingMethodException, UriFormatException, SynchronizationLockException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, CookieException, WebException, SocketException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException
GetResponse in class WebRequestjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionProtocolViolationExceptionSecurityExceptionInvalidCastExceptionMissingMethodExceptionUriFormatExceptionSynchronizationLockExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionCookieExceptionWebExceptionSocketExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionpublic boolean getSendChunked()
throws java.lang.Throwable
java.lang.Throwablepublic RemoteCertificateValidationCallback getServerCertificateValidationCallback() throws java.lang.Throwable
java.lang.Throwablepublic ServicePoint getServicePoint() throws java.lang.Throwable, ArgumentException, ArgumentNullException, FormatException, InvalidOperationException, NotSupportedException, MissingManifestResourceException, ArgumentOutOfRangeException, ConfigurationException, SecurityException, TypeLoadException, ConfigurationErrorsException, InvalidCastException, MissingMethodException, TargetInvocationException, UriFormatException, OutOfMemoryException, OverflowException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionFormatExceptionInvalidOperationExceptionNotSupportedExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionConfigurationExceptionSecurityExceptionTypeLoadExceptionConfigurationErrorsExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionUriFormatExceptionOutOfMemoryExceptionOverflowExceptionpublic boolean getSupportsCookieContainer()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getTransferEncoding()
throws java.lang.Throwable,
ArgumentNullException,
ObjectDisposedException,
AbandonedMutexException,
ArgumentOutOfRangeException,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionpublic boolean getUnsafeAuthenticatedConnectionSharing()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getUserAgent()
throws java.lang.Throwable,
ArgumentNullException,
ObjectDisposedException,
AbandonedMutexException,
ArgumentOutOfRangeException,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionpublic void setAccept(java.lang.String Accept)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException
public void setAllowAutoRedirect(boolean AllowAutoRedirect)
throws java.lang.Throwable
java.lang.Throwablepublic void setAllowReadStreamBuffering(boolean AllowReadStreamBuffering)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void setAllowWriteStreamBuffering(boolean AllowWriteStreamBuffering)
throws java.lang.Throwable
java.lang.Throwablepublic void setAutomaticDecompression(DecompressionMethods AutomaticDecompression) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public void setClientCertificates(X509CertificateCollection ClientCertificates) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void setConnection(java.lang.String Connection)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException
public void setContinueDelegate(HttpContinueDelegate ContinueDelegate) throws java.lang.Throwable
java.lang.Throwablepublic void setContinueTimeout(int ContinueTimeout)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void setCookieContainer(CookieContainer CookieContainer) throws java.lang.Throwable
java.lang.Throwablepublic void setDate(DateTime Date) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, OverflowException, IndexOutOfRangeException
public static void setDefaultCachePolicy(RequestCachePolicy DefaultCachePolicy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, InvalidOperationException, NotSupportedException, MissingManifestResourceException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException
public static void setDefaultMaximumErrorResponseLength(int DefaultMaximumErrorResponseLength)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
ConfigurationErrorsException,
KeyNotFoundException,
ConfigurationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionConfigurationErrorsExceptionKeyNotFoundExceptionConfigurationExceptionpublic static void setDefaultMaximumResponseHeadersLength(int DefaultMaximumResponseHeadersLength)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
ConfigurationErrorsException,
KeyNotFoundException,
ConfigurationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionConfigurationErrorsExceptionKeyNotFoundExceptionConfigurationExceptionpublic void setExpect(java.lang.String Expect)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException
public void setHost(java.lang.String Host)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
UriFormatException,
OutOfMemoryException,
SecurityException,
NullReferenceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionUriFormatExceptionOutOfMemoryExceptionSecurityExceptionNullReferenceExceptionpublic void setIfModifiedSince(DateTime IfModifiedSince) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, OverflowException, IndexOutOfRangeException
public void setJCOInstance(JCObject instance)
setJCOInstance in class WebRequestpublic void setKeepAlive(boolean KeepAlive)
throws java.lang.Throwable
java.lang.Throwablepublic void setMaximumAutomaticRedirections(int MaximumAutomaticRedirections)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void setMaximumResponseHeadersLength(int MaximumResponseHeadersLength)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void setMediaType(java.lang.String MediaType)
throws java.lang.Throwable
java.lang.Throwablepublic void setPipelined(boolean Pipelined)
throws java.lang.Throwable
java.lang.Throwablepublic void setProtocolVersion(Version ProtocolVersion) 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 setReferer(java.lang.String Referer)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException
public void setSendChunked(boolean SendChunked)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void setServerCertificateValidationCallback(RemoteCertificateValidationCallback ServerCertificateValidationCallback) throws java.lang.Throwable, SecurityException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, NullReferenceException
java.lang.ThrowableSecurityExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNullReferenceExceptionpublic void setTransferEncoding(java.lang.String TransferEncoding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException
public void setUnsafeAuthenticatedConnectionSharing(boolean UnsafeAuthenticatedConnectionSharing)
throws java.lang.Throwable
java.lang.Throwablepublic void setUserAgent(java.lang.String UserAgent)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException