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.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.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, 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 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,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
NullReferenceException,
AggregateException
Abort in class WebRequestjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionNullReferenceExceptionAggregateExceptionpublic void AddRange(int range)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
NullReferenceException,
FormatException,
ArrayTypeMismatchException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionNullReferenceExceptionFormatExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionpublic void AddRange(int from,
int to)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
NullReferenceException,
FormatException,
ArrayTypeMismatchException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionNullReferenceExceptionFormatExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionpublic void AddRange(long range)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
NullReferenceException,
FormatException,
ArrayTypeMismatchException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionNullReferenceExceptionFormatExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionpublic void AddRange(long from,
long to)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
NullReferenceException,
FormatException,
ArrayTypeMismatchException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionNullReferenceExceptionFormatExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionpublic void AddRange(java.lang.String rangeSpecifier,
int range)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
NullReferenceException,
FormatException,
ArrayTypeMismatchException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionNullReferenceExceptionFormatExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionpublic void AddRange(java.lang.String rangeSpecifier,
int from,
int to)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
NullReferenceException,
FormatException,
ArrayTypeMismatchException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionNullReferenceExceptionFormatExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionpublic void AddRange(java.lang.String rangeSpecifier,
long range)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
OutOfMemoryException,
CultureNotFoundException,
FormatException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionFormatExceptionpublic void AddRange(java.lang.String rangeSpecifier,
long from,
long to)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
OutOfMemoryException,
CultureNotFoundException,
FormatException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionFormatExceptionpublic IAsyncResult BeginGetRequestStream(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, WebException, NullReferenceException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ProtocolViolationException, TaskSchedulerException
BeginGetRequestStream in class WebRequestjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionWebExceptionNullReferenceExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionProtocolViolationExceptionTaskSchedulerExceptionpublic IAsyncResult BeginGetResponse(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, WebException, NullReferenceException, TaskSchedulerException, IndexOutOfRangeException, OutOfMemoryException
BeginGetResponse in class WebRequestjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionWebExceptionNullReferenceExceptionTaskSchedulerExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionpublic 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, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, WebException, NullReferenceException, EventSourceException, TaskSchedulerException, ThreadStateException, OperationCanceledException, TaskCanceledException, AggregateException
EndGetRequestStream in class WebRequestjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionWebExceptionNullReferenceExceptionEventSourceExceptionTaskSchedulerExceptionThreadStateExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionpublic Stream EndGetRequestStream(IAsyncResult asyncResult, JCORefOut<TransportContext> context) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
public WebResponse EndGetResponse(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, WebException, NullReferenceException, EventSourceException, TaskSchedulerException, ThreadStateException, OperationCanceledException, TaskCanceledException, AggregateException
EndGetResponse in class WebRequestjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionWebExceptionNullReferenceExceptionEventSourceExceptionTaskSchedulerExceptionThreadStateExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionpublic java.lang.String getAccept()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
OutOfMemoryException
public 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,
ArgumentOutOfRangeException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
OutOfMemoryException
public 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, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ArrayTypeMismatchException, IndexOutOfRangeException, InvalidOperationException, FormatException, ProtocolViolationException
public static RequestCachePolicy getDefaultCachePolicy() throws java.lang.Throwable
java.lang.Throwablepublic static int getDefaultMaximumErrorResponseLength()
throws java.lang.Throwable
java.lang.Throwablepublic static int getDefaultMaximumResponseHeadersLength()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getExpect()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
OutOfMemoryException
public boolean getHaveResponse()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getHost()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
CultureNotFoundException,
NullReferenceException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
UnreachableException,
UriFormatException,
OverflowException,
FormatException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionUnreachableExceptionUriFormatExceptionOverflowExceptionFormatExceptionpublic DateTime getIfModifiedSince() throws java.lang.Throwable, ArgumentNullException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ArrayTypeMismatchException, IndexOutOfRangeException, InvalidOperationException, FormatException, ProtocolViolationException
public 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,
ArgumentOutOfRangeException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
OutOfMemoryException
public Stream GetRequestStream() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, WebException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ProtocolViolationException, InvalidOperationException, TaskSchedulerException, ThreadStateException, ObjectDisposedException, OperationCanceledException, FormatException
GetRequestStream in class WebRequestjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionWebExceptionNullReferenceExceptionNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionProtocolViolationExceptionInvalidOperationExceptionTaskSchedulerExceptionThreadStateExceptionObjectDisposedExceptionOperationCanceledExceptionFormatExceptionpublic Stream GetRequestStream(JCORefOut<TransportContext> context) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
public WebResponse GetResponse() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, ThreadStateException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, ArgumentOutOfRangeException, AggregateException
GetResponse in class WebRequestjava.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionEventSourceExceptionInvalidOperationExceptionTaskSchedulerExceptionThreadStateExceptionObjectDisposedExceptionOperationCanceledExceptionTaskCanceledExceptionArgumentOutOfRangeExceptionAggregateExceptionpublic boolean getSendChunked()
throws java.lang.Throwable
java.lang.Throwablepublic RemoteCertificateValidationCallback getServerCertificateValidationCallback() throws java.lang.Throwable
java.lang.Throwablepublic ServicePoint getServicePoint() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, UriFormatException, FormatException, InvalidTimeZoneException, OverflowException, SecurityException, RankException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionUriFormatExceptionFormatExceptionInvalidTimeZoneExceptionOverflowExceptionSecurityExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic boolean getSupportsCookieContainer()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getTransferEncoding()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
OutOfMemoryException
public boolean getUnsafeAuthenticatedConnectionSharing()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getUserAgent()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
OutOfMemoryException
public void setAccept(java.lang.String Accept)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException,
ArgumentOutOfRangeException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException
public void setAllowAutoRedirect(boolean AllowAutoRedirect)
throws java.lang.Throwable
java.lang.Throwablepublic void setAllowReadStreamBuffering(boolean AllowReadStreamBuffering)
throws java.lang.Throwable
java.lang.Throwablepublic void setAllowWriteStreamBuffering(boolean AllowWriteStreamBuffering)
throws java.lang.Throwable
java.lang.Throwablepublic void setAutomaticDecompression(DecompressionMethods AutomaticDecompression) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public void setClientCertificates(X509CertificateCollection ClientCertificates) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void setConnection(java.lang.String Connection)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
NullReferenceException,
OutOfMemoryException,
ExternalException,
ArgumentNullException
public void setContinueDelegate(HttpContinueDelegate ContinueDelegate) throws java.lang.Throwable
java.lang.Throwablepublic void setContinueTimeout(int ContinueTimeout)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public void setCookieContainer(CookieContainer CookieContainer) throws java.lang.Throwable
java.lang.Throwablepublic void setDate(DateTime Date) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, InvalidOperationException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, OverflowException, FormatException, CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionIndexOutOfRangeExceptionOverflowExceptionFormatExceptionCultureNotFoundExceptionpublic static void setDefaultCachePolicy(RequestCachePolicy DefaultCachePolicy) throws java.lang.Throwable
java.lang.Throwablepublic static void setDefaultMaximumErrorResponseLength(int DefaultMaximumErrorResponseLength)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException
public static void setDefaultMaximumResponseHeadersLength(int DefaultMaximumResponseHeadersLength)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException
public void setExpect(java.lang.String Expect)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
NullReferenceException,
OutOfMemoryException,
ExternalException,
ArgumentNullException
public void setHost(java.lang.String Host)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
UnreachableException,
UriFormatException,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionUnreachableExceptionUriFormatExceptionOutOfMemoryExceptionpublic void setIfModifiedSince(DateTime IfModifiedSince) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, InvalidOperationException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, OverflowException, FormatException, CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionIndexOutOfRangeExceptionOverflowExceptionFormatExceptionCultureNotFoundExceptionpublic 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,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public void setMaximumResponseHeadersLength(int MaximumResponseHeadersLength)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
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, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, NotSupportedException, UriFormatException, FormatException, InvalidTimeZoneException, OverflowException, RankException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIndexOutOfRangeExceptionNotSupportedExceptionUriFormatExceptionFormatExceptionInvalidTimeZoneExceptionOverflowExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic void setReadWriteTimeout(int ReadWriteTimeout)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public void setReferer(java.lang.String Referer)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException,
ArgumentOutOfRangeException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException
public void setSendChunked(boolean SendChunked)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public void setServerCertificateValidationCallback(RemoteCertificateValidationCallback ServerCertificateValidationCallback) throws java.lang.Throwable
java.lang.Throwablepublic void setTransferEncoding(java.lang.String TransferEncoding)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
NullReferenceException,
OutOfMemoryException,
ExternalException,
ArgumentNullException
public void setUnsafeAuthenticatedConnectionSharing(boolean UnsafeAuthenticatedConnectionSharing)
throws java.lang.Throwable
java.lang.Throwablepublic void setUserAgent(java.lang.String UserAgent)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException,
ArgumentOutOfRangeException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException