Package system.net
Class HttpWebRequest
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.net.WebRequest
-
- system.net.HttpWebRequest
-
- All Implemented Interfaces:
IJCOBridgeReflected
,ISerializable
public class HttpWebRequest extends WebRequest
The base .NET class managing System.Net.HttpWebRequest, System.Net.Requests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.HttpWebRequest
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Net.Requests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Net.Requestsstatic java.lang.String
className
Qualified class name: System.Net.HttpWebRequeststatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HttpWebRequest()
HttpWebRequest(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 theIJCOBridgeReflected
instance intoHttpWebRequest
, 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 namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeboolean
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)
-
Methods inherited from class system.net.WebRequest
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, setUseDefaultCredentials
-
Methods inherited from class system.MarshalByRefObject
GetLifetimeService, InitializeLifetimeService
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.runtime.serialization.ISerializable
GetObjectData
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Net.Requests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Net.Requests- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Net.HttpWebRequest- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceISerializable
- Overrides:
getJCOAssemblyName
in classWebRequest
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceISerializable
- Overrides:
getJCOClassName
in classWebRequest
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceISerializable
- Overrides:
getJCOObjectName
in classWebRequest
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceISerializable
- Overrides:
getJCOInstance
in classWebRequest
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classWebRequest
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceISerializable
- Overrides:
getJCOType
in classWebRequest
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static HttpWebRequest cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoHttpWebRequest
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
HttpWebRequest
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
BeginGetRequestStream
public IAsyncResult BeginGetRequestStream(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, WebException, NullReferenceException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ProtocolViolationException, TaskSchedulerException
- Overrides:
BeginGetRequestStream
in classWebRequest
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
WebException
NullReferenceException
IndexOutOfRangeException
OutOfMemoryException
ExternalException
ProtocolViolationException
TaskSchedulerException
-
BeginGetResponse
public IAsyncResult BeginGetResponse(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, WebException, NullReferenceException, TaskSchedulerException, IndexOutOfRangeException, OutOfMemoryException
- Overrides:
BeginGetResponse
in classWebRequest
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
WebException
NullReferenceException
TaskSchedulerException
IndexOutOfRangeException
OutOfMemoryException
-
EndGetRequestStream
public Stream EndGetRequestStream(IAsyncResult asyncResult, JCORefOut<TransportContext> context) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
EndGetRequestStream
public Stream EndGetRequestStream(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, WebException, NullReferenceException, EventSourceException, TaskSchedulerException, OperationCanceledException, TaskCanceledException, AggregateException
- Overrides:
EndGetRequestStream
in classWebRequest
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
WebException
NullReferenceException
EventSourceException
TaskSchedulerException
OperationCanceledException
TaskCanceledException
AggregateException
-
GetRequestStream
public Stream GetRequestStream() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, WebException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ProtocolViolationException, InvalidOperationException, TaskSchedulerException, ObjectDisposedException, OperationCanceledException, FormatException
- Overrides:
GetRequestStream
in classWebRequest
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
WebException
NullReferenceException
NotSupportedException
IndexOutOfRangeException
OutOfMemoryException
ExternalException
ProtocolViolationException
InvalidOperationException
TaskSchedulerException
ObjectDisposedException
OperationCanceledException
FormatException
-
GetRequestStream
public Stream GetRequestStream(JCORefOut<TransportContext> context) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
EndGetResponse
public WebResponse EndGetResponse(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, WebException, NullReferenceException, EventSourceException, TaskSchedulerException, OperationCanceledException, TaskCanceledException, AggregateException
- Overrides:
EndGetResponse
in classWebRequest
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
WebException
NullReferenceException
EventSourceException
TaskSchedulerException
OperationCanceledException
TaskCanceledException
AggregateException
-
GetResponse
public WebResponse GetResponse() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, ArgumentOutOfRangeException, AggregateException
- Overrides:
GetResponse
in classWebRequest
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
PlatformNotSupportedException
EventSourceException
InvalidOperationException
TaskSchedulerException
ObjectDisposedException
OperationCanceledException
TaskCanceledException
ArgumentOutOfRangeException
AggregateException
-
Abort
public void Abort() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException, ArgumentNullException, AggregateException
- Overrides:
Abort
in classWebRequest
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
NullReferenceException
ArgumentNullException
AggregateException
-
AddRange
public void AddRange(int from, int to) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, NullReferenceException, FormatException, ArrayTypeMismatchException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
CultureNotFoundException
NullReferenceException
FormatException
ArrayTypeMismatchException
OutOfMemoryException
-
AddRange
public void AddRange(int range) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, NullReferenceException, FormatException, ArrayTypeMismatchException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
CultureNotFoundException
NullReferenceException
FormatException
ArrayTypeMismatchException
OutOfMemoryException
-
AddRange
public void AddRange(long from, long to) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, NullReferenceException, FormatException, ArrayTypeMismatchException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
CultureNotFoundException
NullReferenceException
FormatException
ArrayTypeMismatchException
OutOfMemoryException
-
AddRange
public void AddRange(long range) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, NullReferenceException, FormatException, ArrayTypeMismatchException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
CultureNotFoundException
NullReferenceException
FormatException
ArrayTypeMismatchException
OutOfMemoryException
-
AddRange
public 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
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
CultureNotFoundException
NullReferenceException
FormatException
ArrayTypeMismatchException
OutOfMemoryException
-
AddRange
public void AddRange(java.lang.String rangeSpecifier, int range) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, NullReferenceException, FormatException, ArrayTypeMismatchException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
CultureNotFoundException
NullReferenceException
FormatException
ArrayTypeMismatchException
OutOfMemoryException
-
AddRange
public 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
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
OutOfMemoryException
CultureNotFoundException
FormatException
-
AddRange
public 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
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
OutOfMemoryException
CultureNotFoundException
FormatException
-
getAllowAutoRedirect
public boolean getAllowAutoRedirect() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAllowAutoRedirect
public void setAllowAutoRedirect(boolean AllowAutoRedirect) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAllowReadStreamBuffering
public boolean getAllowReadStreamBuffering() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAllowReadStreamBuffering
public void setAllowReadStreamBuffering(boolean AllowReadStreamBuffering) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAllowWriteStreamBuffering
public boolean getAllowWriteStreamBuffering() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAllowWriteStreamBuffering
public void setAllowWriteStreamBuffering(boolean AllowWriteStreamBuffering) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getHaveResponse
public boolean getHaveResponse() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getKeepAlive
public boolean getKeepAlive() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setKeepAlive
public void setKeepAlive(boolean KeepAlive) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPipelined
public boolean getPipelined() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPipelined
public void setPipelined(boolean Pipelined) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSendChunked
public boolean getSendChunked() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSendChunked
public void setSendChunked(boolean SendChunked) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
getSupportsCookieContainer
public boolean getSupportsCookieContainer() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUnsafeAuthenticatedConnectionSharing
public boolean getUnsafeAuthenticatedConnectionSharing() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUnsafeAuthenticatedConnectionSharing
public void setUnsafeAuthenticatedConnectionSharing(boolean UnsafeAuthenticatedConnectionSharing) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getContinueTimeout
public int getContinueTimeout() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setContinueTimeout
public void setContinueTimeout(int ContinueTimeout) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
getDefaultMaximumErrorResponseLength
public static int getDefaultMaximumErrorResponseLength() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDefaultMaximumErrorResponseLength
public static void setDefaultMaximumErrorResponseLength(int DefaultMaximumErrorResponseLength) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
getDefaultMaximumResponseHeadersLength
public static int getDefaultMaximumResponseHeadersLength() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDefaultMaximumResponseHeadersLength
public static void setDefaultMaximumResponseHeadersLength(int DefaultMaximumResponseHeadersLength) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
getMaximumAutomaticRedirections
public int getMaximumAutomaticRedirections() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMaximumAutomaticRedirections
public void setMaximumAutomaticRedirections(int MaximumAutomaticRedirections) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getMaximumResponseHeadersLength
public int getMaximumResponseHeadersLength() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMaximumResponseHeadersLength
public void setMaximumResponseHeadersLength(int MaximumResponseHeadersLength) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
getReadWriteTimeout
public int getReadWriteTimeout() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setReadWriteTimeout
public void setReadWriteTimeout(int ReadWriteTimeout) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
getDate
public DateTime getDate() throws java.lang.Throwable, ArgumentNullException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ArrayTypeMismatchException, IndexOutOfRangeException, InvalidOperationException, FormatException, ProtocolViolationException
-
setDate
public void setDate(DateTime Date) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentNullException, IndexOutOfRangeException, OverflowException, FormatException, InvalidOperationException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
InvalidTimeZoneException
SecurityException
UnauthorizedAccessException
IOException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentNullException
IndexOutOfRangeException
OverflowException
FormatException
InvalidOperationException
CultureNotFoundException
-
getIfModifiedSince
public DateTime getIfModifiedSince() throws java.lang.Throwable, ArgumentNullException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ArrayTypeMismatchException, IndexOutOfRangeException, InvalidOperationException, FormatException, ProtocolViolationException
-
setIfModifiedSince
public void setIfModifiedSince(DateTime IfModifiedSince) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentNullException, IndexOutOfRangeException, OverflowException, FormatException, InvalidOperationException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
InvalidTimeZoneException
SecurityException
UnauthorizedAccessException
IOException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentNullException
IndexOutOfRangeException
OverflowException
FormatException
InvalidOperationException
CultureNotFoundException
-
getDefaultCachePolicy
public static RequestCachePolicy getDefaultCachePolicy() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDefaultCachePolicy
public static void setDefaultCachePolicy(RequestCachePolicy DefaultCachePolicy) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCookieContainer
public CookieContainer getCookieContainer() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCookieContainer
public void setCookieContainer(CookieContainer CookieContainer) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAutomaticDecompression
public DecompressionMethods getAutomaticDecompression() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAutomaticDecompression
public void setAutomaticDecompression(DecompressionMethods AutomaticDecompression) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
getContinueDelegate
public HttpContinueDelegate getContinueDelegate() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setContinueDelegate
public void setContinueDelegate(HttpContinueDelegate ContinueDelegate) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getServerCertificateValidationCallback
public RemoteCertificateValidationCallback getServerCertificateValidationCallback() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setServerCertificateValidationCallback
public void setServerCertificateValidationCallback(RemoteCertificateValidationCallback ServerCertificateValidationCallback) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getServicePoint
public ServicePoint getServicePoint() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, UriFormatException, OutOfMemoryException, FormatException, InvalidTimeZoneException, OverflowException, SecurityException, RankException, ArrayTypeMismatchException, InvalidCastException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
IndexOutOfRangeException
UriFormatException
OutOfMemoryException
FormatException
InvalidTimeZoneException
OverflowException
SecurityException
RankException
ArrayTypeMismatchException
InvalidCastException
-
getClientCertificates
public X509CertificateCollection getClientCertificates() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setClientCertificates
public void setClientCertificates(X509CertificateCollection ClientCertificates) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getAccept
public java.lang.String getAccept() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, OutOfMemoryException
-
setAccept
public void setAccept(java.lang.String Accept) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
-
getConnection
public java.lang.String getConnection() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, OutOfMemoryException
-
setConnection
public void setConnection(java.lang.String Connection) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, ArgumentNullException
-
getExpect
public java.lang.String getExpect() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, OutOfMemoryException
-
setExpect
public void setExpect(java.lang.String Expect) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, ArgumentNullException
-
getHost
public java.lang.String getHost() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, UriFormatException, UnreachableException, OverflowException, FormatException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
NotSupportedException
ArgumentException
CultureNotFoundException
NullReferenceException
OutOfMemoryException
ExternalException
ArgumentNullException
ArgumentOutOfRangeException
InvalidOperationException
UriFormatException
UnreachableException
OverflowException
FormatException
-
setHost
public void setHost(java.lang.String Host) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, UnreachableException, UriFormatException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
UnreachableException
UriFormatException
OutOfMemoryException
-
getMediaType
public java.lang.String getMediaType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMediaType
public void setMediaType(java.lang.String MediaType) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getReferer
public java.lang.String getReferer() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, OutOfMemoryException
-
setReferer
public void setReferer(java.lang.String Referer) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
-
getTransferEncoding
public java.lang.String getTransferEncoding() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, OutOfMemoryException
-
setTransferEncoding
public void setTransferEncoding(java.lang.String TransferEncoding) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, ArgumentNullException
-
getUserAgent
public java.lang.String getUserAgent() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, OutOfMemoryException
-
setUserAgent
public void setUserAgent(java.lang.String UserAgent) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
-
getAddress
public Uri getAddress() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getProtocolVersion
public Version getProtocolVersion() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setProtocolVersion
public void setProtocolVersion(Version ProtocolVersion) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, NotSupportedException, UriFormatException, FormatException, InvalidTimeZoneException, OverflowException, RankException, ArrayTypeMismatchException, InvalidCastException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
IndexOutOfRangeException
NotSupportedException
UriFormatException
FormatException
InvalidTimeZoneException
OverflowException
RankException
ArrayTypeMismatchException
InvalidCastException
-
-