public class WebProxy extends NetObject implements ISerializable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.WebProxy
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.WebProxy, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.WebProxy
|
static java.lang.String |
className
Qualified class name: System.Net.WebProxy
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
WebProxy() |
WebProxy(java.lang.Object instance)
Internal constructor.
|
WebProxy(java.lang.String Address) |
WebProxy(java.lang.String Address,
boolean BypassOnLocal) |
WebProxy(java.lang.String Address,
boolean BypassOnLocal,
java.lang.String[] BypassList) |
WebProxy(java.lang.String Address,
boolean BypassOnLocal,
java.lang.String[] BypassList,
ICredentials Credentials) |
WebProxy(java.lang.String Host,
int Port) |
WebProxy(Uri Address) |
WebProxy(Uri Address,
boolean BypassOnLocal) |
WebProxy(Uri Address,
boolean BypassOnLocal,
java.lang.String[] BypassList) |
WebProxy(Uri Address,
boolean BypassOnLocal,
java.lang.String[] BypassList,
ICredentials Credentials) |
| Modifier and Type | Method and Description |
|---|---|
static WebProxy |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into WebProxy, a cast assert is made to check if types are compatible. |
Uri |
getAddress() |
NetArrayList |
getBypassArrayList() |
java.lang.String[] |
getBypassList() |
boolean |
getBypassProxyOnLocal() |
ICredentials |
getCredentials() |
static WebProxy |
GetDefaultProxy() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
Uri |
GetProxy(Uri destination) |
boolean |
getUseDefaultCredentials() |
boolean |
IsBypassed(Uri host) |
void |
setAddress(Uri Address) |
void |
setBypassList(java.lang.String[] BypassList) |
void |
setBypassProxyOnLocal(boolean BypassProxyOnLocal) |
void |
setCredentials(ICredentials Credentials) |
void |
setJCOInstance(JCObject instance) |
void |
setUseDefaultCredentials(boolean UseDefaultCredentials) |
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToStringGetObjectData, ToISerializablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public WebProxy()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
RankException,
ArgumentException,
ArrayTypeMismatchException,
NotSupportedException,
PlatformNotSupportedException,
RegexParseException,
InvalidOperationException
public WebProxy(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic WebProxy(java.lang.String Address)
throws java.lang.Throwable,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
CultureNotFoundException,
ArgumentOutOfRangeException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
UnreachableException,
RankException,
ArrayTypeMismatchException,
RegexParseException
java.lang.ThrowablePlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionInvalidOperationExceptionArgumentExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionUnreachableExceptionRankExceptionArrayTypeMismatchExceptionRegexParseExceptionpublic WebProxy(java.lang.String Address,
boolean BypassOnLocal)
throws java.lang.Throwable,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
CultureNotFoundException,
ArgumentOutOfRangeException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
UnreachableException,
RankException,
ArrayTypeMismatchException,
RegexParseException
java.lang.ThrowablePlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionInvalidOperationExceptionArgumentExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionUnreachableExceptionRankExceptionArrayTypeMismatchExceptionRegexParseExceptionpublic WebProxy(java.lang.String Address,
boolean BypassOnLocal,
java.lang.String[] BypassList)
throws java.lang.Throwable,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
CultureNotFoundException,
ArgumentOutOfRangeException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
UnreachableException,
RankException,
ArrayTypeMismatchException,
RegexParseException
java.lang.ThrowablePlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionInvalidOperationExceptionArgumentExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionUnreachableExceptionRankExceptionArrayTypeMismatchExceptionRegexParseExceptionpublic WebProxy(java.lang.String Address,
boolean BypassOnLocal,
java.lang.String[] BypassList,
ICredentials Credentials)
throws java.lang.Throwable,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
CultureNotFoundException,
ArgumentOutOfRangeException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
UnreachableException,
RankException,
ArrayTypeMismatchException,
RegexParseException
java.lang.ThrowablePlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionInvalidOperationExceptionArgumentExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionUnreachableExceptionRankExceptionArrayTypeMismatchExceptionRegexParseExceptionpublic WebProxy(java.lang.String Host,
int Port)
throws java.lang.Throwable,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
CultureNotFoundException,
ArgumentOutOfRangeException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
UnreachableException,
RankException,
ArrayTypeMismatchException,
RegexParseException
java.lang.ThrowablePlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionInvalidOperationExceptionArgumentExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionUnreachableExceptionRankExceptionArrayTypeMismatchExceptionRegexParseExceptionpublic WebProxy(Uri Address) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, NotSupportedException, PlatformNotSupportedException, RegexParseException, InvalidOperationException
public WebProxy(Uri Address, boolean BypassOnLocal) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, NotSupportedException, PlatformNotSupportedException, RegexParseException, InvalidOperationException
public WebProxy(Uri Address, boolean BypassOnLocal, java.lang.String[] BypassList) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, NotSupportedException, PlatformNotSupportedException, RegexParseException, InvalidOperationException
public WebProxy(Uri Address, boolean BypassOnLocal, java.lang.String[] BypassList, ICredentials Credentials) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, RegexParseException, FormatException, UnreachableException
public static WebProxy cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into WebProxy, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedWebProxy instancejava.lang.Throwable - in case of error during cast operationpublic Uri getAddress() throws java.lang.Throwable
java.lang.Throwablepublic NetArrayList getBypassArrayList() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String[] getBypassList()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public boolean getBypassProxyOnLocal()
throws java.lang.Throwable
java.lang.Throwablepublic ICredentials getCredentials() throws java.lang.Throwable
java.lang.Throwablepublic static WebProxy GetDefaultProxy() throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ISerializablegetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ISerializablegetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ISerializablegetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ISerializablegetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface ISerializablegetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic Uri GetProxy(Uri destination) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException, UriFormatException, FormatException, SocketException, NetworkInformationException, EventSourceException, IndexOutOfRangeException, RegexParseException, NotImplementedException, RegexMatchTimeoutException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionUriFormatExceptionFormatExceptionSocketExceptionNetworkInformationExceptionEventSourceExceptionIndexOutOfRangeExceptionRegexParseExceptionNotImplementedExceptionRegexMatchTimeoutExceptionpublic boolean getUseDefaultCredentials()
throws java.lang.Throwable
java.lang.Throwablepublic boolean IsBypassed(Uri host) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, UnreachableException, UriFormatException, FormatException, SocketException, NetworkInformationException, EventSourceException, IndexOutOfRangeException, RegexParseException, NotImplementedException, RegexMatchTimeoutException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionUnreachableExceptionUriFormatExceptionFormatExceptionSocketExceptionNetworkInformationExceptionEventSourceExceptionIndexOutOfRangeExceptionRegexParseExceptionNotImplementedExceptionRegexMatchTimeoutExceptionpublic void setAddress(Uri Address) throws java.lang.Throwable
java.lang.Throwablepublic void setBypassList(java.lang.String[] BypassList)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
InvalidOperationException,
RegexParseException,
FormatException,
UnreachableException
public void setBypassProxyOnLocal(boolean BypassProxyOnLocal)
throws java.lang.Throwable
java.lang.Throwablepublic void setCredentials(ICredentials Credentials) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setUseDefaultCredentials(boolean UseDefaultCredentials)
throws java.lang.Throwable
java.lang.Throwable