public class HttpWebRequest extends WebRequest
.NET documentation at https://learn.microsoft.com/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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.Requests
|
static java.lang.String |
className
Qualified class name: System.Net.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()
Invokes the .NET member Abort.
|
void |
AddRange(int range)
Invokes the .NET member AddRange.
|
void |
AddRange(int from,
int to)
Invokes the .NET member AddRange.
|
void |
AddRange(long range)
Invokes the .NET member AddRange.
|
void |
AddRange(long from,
long to)
Invokes the .NET member AddRange.
|
void |
AddRange(java.lang.String rangeSpecifier,
int range)
Invokes the .NET member AddRange.
|
void |
AddRange(java.lang.String rangeSpecifier,
int from,
int to)
Invokes the .NET member AddRange.
|
void |
AddRange(java.lang.String rangeSpecifier,
long range)
Invokes the .NET member AddRange.
|
void |
AddRange(java.lang.String rangeSpecifier,
long from,
long to)
Invokes the .NET member AddRange.
|
IAsyncResult |
BeginGetRequestStream(AsyncCallback callback,
NetObject state)
Invokes the .NET member BeginGetRequestStream.
|
IAsyncResult |
BeginGetResponse(AsyncCallback callback,
NetObject state)
Invokes the .NET member BeginGetResponse.
|
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)
Invokes the .NET member EndGetRequestStream.
|
Stream |
EndGetRequestStream(IAsyncResult asyncResult,
JCORefOut<TransportContext> context)
Invokes the .NET member EndGetRequestStream.
|
WebResponse |
EndGetResponse(IAsyncResult asyncResult)
Invokes the .NET member EndGetResponse.
|
java.lang.String |
getAccept()
Gets the value of the .NET property Accept.
|
Uri |
getAddress()
Gets the value of the .NET property Address.
|
boolean |
getAllowAutoRedirect()
Gets the value of the .NET property AllowAutoRedirect.
|
boolean |
getAllowReadStreamBuffering()
Gets the value of the .NET property AllowReadStreamBuffering.
|
boolean |
getAllowWriteStreamBuffering()
Gets the value of the .NET property AllowWriteStreamBuffering.
|
DecompressionMethods |
getAutomaticDecompression()
Gets the value of the .NET property AutomaticDecompression.
|
X509CertificateCollection |
getClientCertificates()
Gets the value of the .NET property ClientCertificates.
|
java.lang.String |
getConnection()
Gets the value of the .NET property Connection.
|
HttpContinueDelegate |
getContinueDelegate()
Gets the value of the .NET property ContinueDelegate.
|
int |
getContinueTimeout()
Gets the value of the .NET property ContinueTimeout.
|
CookieContainer |
getCookieContainer()
Gets the value of the .NET property CookieContainer.
|
DateTime |
getDate()
Gets the value of the .NET property Date.
|
static RequestCachePolicy |
getDefaultCachePolicy()
Gets the value of the .NET property DefaultCachePolicy.
|
static int |
getDefaultMaximumErrorResponseLength()
Gets the value of the .NET property DefaultMaximumErrorResponseLength.
|
static int |
getDefaultMaximumResponseHeadersLength()
Gets the value of the .NET property DefaultMaximumResponseHeadersLength.
|
java.lang.String |
getExpect()
Gets the value of the .NET property Expect.
|
boolean |
getHaveResponse()
Gets the value of the .NET property HaveResponse.
|
java.lang.String |
getHost()
Gets the value of the .NET property Host.
|
DateTime |
getIfModifiedSince()
Gets the value of the .NET property IfModifiedSince.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
boolean |
getKeepAlive()
Gets the value of the .NET property KeepAlive.
|
int |
getMaximumAutomaticRedirections()
Gets the value of the .NET property MaximumAutomaticRedirections.
|
int |
getMaximumResponseHeadersLength()
Gets the value of the .NET property MaximumResponseHeadersLength.
|
java.lang.String |
getMediaType()
Gets the value of the .NET property MediaType.
|
boolean |
getPipelined()
Gets the value of the .NET property Pipelined.
|
Version |
getProtocolVersion()
Gets the value of the .NET property ProtocolVersion.
|
int |
getReadWriteTimeout()
Gets the value of the .NET property ReadWriteTimeout.
|
java.lang.String |
getReferer()
Gets the value of the .NET property Referer.
|
Stream |
GetRequestStream()
Invokes the .NET member GetRequestStream.
|
Stream |
GetRequestStream(JCORefOut<TransportContext> context)
Invokes the .NET member GetRequestStream.
|
WebResponse |
GetResponse()
Invokes the .NET member GetResponse.
|
boolean |
getSendChunked()
Gets the value of the .NET property SendChunked.
|
RemoteCertificateValidationCallback |
getServerCertificateValidationCallback()
Gets the value of the .NET property ServerCertificateValidationCallback.
|
ServicePoint |
getServicePoint()
Gets the value of the .NET property ServicePoint.
|
boolean |
getSupportsCookieContainer()
Gets the value of the .NET property SupportsCookieContainer.
|
java.lang.String |
getTransferEncoding()
Gets the value of the .NET property TransferEncoding.
|
boolean |
getUnsafeAuthenticatedConnectionSharing()
Gets the value of the .NET property UnsafeAuthenticatedConnectionSharing.
|
java.lang.String |
getUserAgent()
Gets the value of the .NET property UserAgent.
|
void |
setAccept(java.lang.String Accept)
Sets the value of the .NET property Accept.
|
void |
setAllowAutoRedirect(boolean AllowAutoRedirect)
Sets the value of the .NET property AllowAutoRedirect.
|
void |
setAllowReadStreamBuffering(boolean AllowReadStreamBuffering)
Sets the value of the .NET property AllowReadStreamBuffering.
|
void |
setAllowWriteStreamBuffering(boolean AllowWriteStreamBuffering)
Sets the value of the .NET property AllowWriteStreamBuffering.
|
void |
setAutomaticDecompression(DecompressionMethods AutomaticDecompression)
Sets the value of the .NET property AutomaticDecompression.
|
void |
setClientCertificates(X509CertificateCollection ClientCertificates)
Sets the value of the .NET property ClientCertificates.
|
void |
setConnection(java.lang.String Connection)
Sets the value of the .NET property Connection.
|
void |
setContinueDelegate(HttpContinueDelegate ContinueDelegate)
Sets the value of the .NET property ContinueDelegate.
|
void |
setContinueTimeout(int ContinueTimeout)
Sets the value of the .NET property ContinueTimeout.
|
void |
setCookieContainer(CookieContainer CookieContainer)
Sets the value of the .NET property CookieContainer.
|
void |
setDate(DateTime Date)
Sets the value of the .NET property Date.
|
static void |
setDefaultCachePolicy(RequestCachePolicy DefaultCachePolicy)
Sets the value of the .NET property DefaultCachePolicy.
|
static void |
setDefaultMaximumErrorResponseLength(int DefaultMaximumErrorResponseLength)
Sets the value of the .NET property DefaultMaximumErrorResponseLength.
|
static void |
setDefaultMaximumResponseHeadersLength(int DefaultMaximumResponseHeadersLength)
Sets the value of the .NET property DefaultMaximumResponseHeadersLength.
|
void |
setExpect(java.lang.String Expect)
Sets the value of the .NET property Expect.
|
void |
setHost(java.lang.String Host)
Sets the value of the .NET property Host.
|
void |
setIfModifiedSince(DateTime IfModifiedSince)
Sets the value of the .NET property IfModifiedSince.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setKeepAlive(boolean KeepAlive)
Sets the value of the .NET property KeepAlive.
|
void |
setMaximumAutomaticRedirections(int MaximumAutomaticRedirections)
Sets the value of the .NET property MaximumAutomaticRedirections.
|
void |
setMaximumResponseHeadersLength(int MaximumResponseHeadersLength)
Sets the value of the .NET property MaximumResponseHeadersLength.
|
void |
setMediaType(java.lang.String MediaType)
Sets the value of the .NET property MediaType.
|
void |
setPipelined(boolean Pipelined)
Sets the value of the .NET property Pipelined.
|
void |
setProtocolVersion(Version ProtocolVersion)
Sets the value of the .NET property ProtocolVersion.
|
void |
setReadWriteTimeout(int ReadWriteTimeout)
Sets the value of the .NET property ReadWriteTimeout.
|
void |
setReferer(java.lang.String Referer)
Sets the value of the .NET property Referer.
|
void |
setSendChunked(boolean SendChunked)
Sets the value of the .NET property SendChunked.
|
void |
setServerCertificateValidationCallback(RemoteCertificateValidationCallback ServerCertificateValidationCallback)
Sets the value of the .NET property ServerCertificateValidationCallback.
|
void |
setTransferEncoding(java.lang.String TransferEncoding)
Sets the value of the .NET property TransferEncoding.
|
void |
setUnsafeAuthenticatedConnectionSharing(boolean UnsafeAuthenticatedConnectionSharing)
Sets the value of the .NET property UnsafeAuthenticatedConnectionSharing.
|
void |
setUserAgent(java.lang.String UserAgent)
Sets the value of the .NET property UserAgent.
|
Create, Create, CreateDefault, CreateHttp, CreateHttp, getAuthenticationLevel, getCachePolicy, getConnectionGroupName, getContentLength, getContentType, getCredentials, getDefaultWebProxy, getHeaders, getImpersonationLevel, getMethod, getPreAuthenticate, getProxy, GetRequestStreamAsync, getRequestUri, GetResponseAsync, GetSystemWebProxy, getTimeout, getUseDefaultCredentials, RegisterPrefix, setAuthenticationLevel, setCachePolicy, setConnectionGroupName, setContentLength, setContentType, setCredentials, setDefaultWebProxy, setHeaders, setImpersonationLevel, setMethod, setPreAuthenticate, setProxy, setTimeout, setUseDefaultCredentialsGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public HttpWebRequest()
throws java.lang.Throwable
java.lang.Throwablepublic HttpWebRequest(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void Abort()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ObjectDisposedException,
ArgumentNullException,
AggregateException
Abort in class WebRequestjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itAggregateException - if the .NET member raises itpublic void AddRange(int range)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
FormatException,
OutOfMemoryException
range - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void AddRange(int from,
int to)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
FormatException,
OutOfMemoryException
from - the argument of type intto - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void AddRange(long range)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
FormatException,
OutOfMemoryException
range - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void AddRange(long from,
long to)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
FormatException,
OutOfMemoryException
from - the argument of type longto - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void AddRange(java.lang.String rangeSpecifier,
int range)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
FormatException,
OutOfMemoryException
rangeSpecifier - the argument of type java.lang.Stringrange - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void AddRange(java.lang.String rangeSpecifier,
int from,
int to)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
FormatException,
OutOfMemoryException
rangeSpecifier - the argument of type java.lang.Stringfrom - the argument of type intto - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic 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
rangeSpecifier - the argument of type java.lang.Stringrange - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itpublic 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
rangeSpecifier - the argument of type java.lang.Stringfrom - the argument of type longto - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itpublic IAsyncResult BeginGetRequestStream(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, WebException, CultureNotFoundException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ProtocolViolationException, FormatException, ArgumentNullException, EventSourceException, TaskSchedulerException
BeginGetRequestStream in class WebRequestcallback - the argument of type AsyncCallbackstate - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itWebException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itProtocolViolationException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic IAsyncResult BeginGetResponse(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, WebException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, FormatException, EventSourceException, TaskSchedulerException
BeginGetResponse in class WebRequestcallback - the argument of type AsyncCallbackstate - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itWebException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic 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, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, WebException, ArgumentNullException, IndexOutOfRangeException, FormatException, EventSourceException, TaskSchedulerException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException
EndGetRequestStream in class WebRequestasyncResult - the argument of type IAsyncResultjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itWebException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic Stream EndGetRequestStream(IAsyncResult asyncResult, JCORefOut<TransportContext> context) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
asyncResult - the argument of type IAsyncResultcontext - the argument of type JCORefOut<TransportContext>java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic WebResponse EndGetResponse(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, WebException, ArgumentNullException, IndexOutOfRangeException, FormatException, EventSourceException, TaskSchedulerException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException
EndGetResponse in class WebRequestasyncResult - the argument of type IAsyncResultjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itWebException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic java.lang.String getAccept()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Uri getAddress() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAllowAutoRedirect()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAllowReadStreamBuffering()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAllowWriteStreamBuffering()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DecompressionMethods getAutomaticDecompression() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic X509CertificateCollection getClientCertificates() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getConnection()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic HttpContinueDelegate getContinueDelegate() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getContinueTimeout()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic CookieContainer getCookieContainer() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DateTime getDate() throws java.lang.Throwable, ArgumentNullException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, OutOfMemoryException, ArrayTypeMismatchException, IndexOutOfRangeException, OverflowException, FormatException, ProtocolViolationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itProtocolViolationException - if the .NET member raises itpublic static RequestCachePolicy getDefaultCachePolicy() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static int getDefaultMaximumErrorResponseLength()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static int getDefaultMaximumResponseHeadersLength()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getExpect()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic boolean getHaveResponse()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getHost()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
UriFormatException,
UnreachableException,
OutOfMemoryException,
OverflowException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itUriFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itpublic DateTime getIfModifiedSince() throws java.lang.Throwable, ArgumentNullException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, OutOfMemoryException, ArrayTypeMismatchException, IndexOutOfRangeException, OverflowException, FormatException, ProtocolViolationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itProtocolViolationException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class WebRequestpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class WebRequestpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class WebRequestnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class WebRequestpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class WebRequestpublic boolean getKeepAlive()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getMaximumAutomaticRedirections()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getMaximumResponseHeadersLength()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getMediaType()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getPipelined()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Version getProtocolVersion() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getReadWriteTimeout()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getReferer()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Stream GetRequestStream() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, WebException, CultureNotFoundException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, ProtocolViolationException, InvalidOperationException, TaskSchedulerException, ObjectDisposedException, OperationCanceledException, FormatException, ArgumentNullException
GetRequestStream in class WebRequestjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itWebException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itProtocolViolationException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic Stream GetRequestStream(JCORefOut<TransportContext> context) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
context - the argument of type JCORefOut<TransportContext>java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic WebResponse GetResponse() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, ArgumentOutOfRangeException, AggregateException
GetResponse in class WebRequestjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itAggregateException - if the .NET member raises itpublic boolean getSendChunked()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic RemoteCertificateValidationCallback getServerCertificateValidationCallback() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ServicePoint getServicePoint() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, UriFormatException, OutOfMemoryException, UnreachableException, NotSupportedException, FormatException, InvalidTimeZoneException, OverflowException, SecurityException, RankException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itUriFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itOverflowException - if the .NET member raises itSecurityException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic boolean getSupportsCookieContainer()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getTransferEncoding()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic boolean getUnsafeAuthenticatedConnectionSharing()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getUserAgent()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setAccept(java.lang.String Accept)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException,
ArgumentOutOfRangeException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException
Accept - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setAllowAutoRedirect(boolean AllowAutoRedirect)
throws java.lang.Throwable
AllowAutoRedirect - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAllowReadStreamBuffering(boolean AllowReadStreamBuffering)
throws java.lang.Throwable
AllowReadStreamBuffering - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAllowWriteStreamBuffering(boolean AllowWriteStreamBuffering)
throws java.lang.Throwable
AllowWriteStreamBuffering - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAutomaticDecompression(DecompressionMethods AutomaticDecompression) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
AutomaticDecompression - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setClientCertificates(X509CertificateCollection ClientCertificates) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
ClientCertificates - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void setConnection(java.lang.String Connection)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
OutOfMemoryException,
ExternalException,
ArgumentNullException
Connection - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void setContinueDelegate(HttpContinueDelegate ContinueDelegate) throws java.lang.Throwable
ContinueDelegate - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setContinueTimeout(int ContinueTimeout)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
ContinueTimeout - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setCookieContainer(CookieContainer CookieContainer) throws java.lang.Throwable
CookieContainer - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDate(DateTime Date) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, ArgumentNullException, IndexOutOfRangeException, OverflowException, FormatException, InvalidOperationException, CultureNotFoundException, NotSupportedException
Date - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic static void setDefaultCachePolicy(RequestCachePolicy DefaultCachePolicy) throws java.lang.Throwable
DefaultCachePolicy - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static void setDefaultMaximumErrorResponseLength(int DefaultMaximumErrorResponseLength)
throws java.lang.Throwable
DefaultMaximumErrorResponseLength - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static void setDefaultMaximumResponseHeadersLength(int DefaultMaximumResponseHeadersLength)
throws java.lang.Throwable
DefaultMaximumResponseHeadersLength - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setExpect(java.lang.String Expect)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
OutOfMemoryException,
ExternalException,
ArgumentNullException
Expect - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void setHost(java.lang.String Host)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException,
IndexOutOfRangeException,
UnreachableException,
UriFormatException,
OutOfMemoryException
Host - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setIfModifiedSince(DateTime IfModifiedSince) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, ArgumentNullException, IndexOutOfRangeException, OverflowException, FormatException, InvalidOperationException, CultureNotFoundException, NotSupportedException
IfModifiedSince - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class WebRequestinstance - the new underlying objectpublic void setKeepAlive(boolean KeepAlive)
throws java.lang.Throwable
KeepAlive - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setMaximumAutomaticRedirections(int MaximumAutomaticRedirections)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
MaximumAutomaticRedirections - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void setMaximumResponseHeadersLength(int MaximumResponseHeadersLength)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
MaximumResponseHeadersLength - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setMediaType(java.lang.String MediaType)
throws java.lang.Throwable
MediaType - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPipelined(boolean Pipelined)
throws java.lang.Throwable
Pipelined - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setProtocolVersion(Version ProtocolVersion) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
ProtocolVersion - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setReadWriteTimeout(int ReadWriteTimeout)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
ReadWriteTimeout - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setReferer(java.lang.String Referer)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException,
ArgumentOutOfRangeException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException
Referer - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setSendChunked(boolean SendChunked)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
SendChunked - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setServerCertificateValidationCallback(RemoteCertificateValidationCallback ServerCertificateValidationCallback) throws java.lang.Throwable
ServerCertificateValidationCallback - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setTransferEncoding(java.lang.String TransferEncoding)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
OutOfMemoryException,
ExternalException,
ArgumentNullException
TransferEncoding - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void setUnsafeAuthenticatedConnectionSharing(boolean UnsafeAuthenticatedConnectionSharing)
throws java.lang.Throwable
UnsafeAuthenticatedConnectionSharing - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setUserAgent(java.lang.String UserAgent)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException,
ArgumentOutOfRangeException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException
UserAgent - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises it