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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System
|
static java.lang.String |
className
Qualified class name: System.Net.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,
ArgumentException,
InvalidOperationException,
OutOfMemoryException,
IndexOutOfRangeException,
MissingManifestResourceException,
NotSupportedException,
SecurityException
public WebProxy(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic WebProxy(java.lang.String Address)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
SecurityException,
MemberAccessException,
NullReferenceException,
UriFormatException,
OutOfMemoryException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionSecurityExceptionMemberAccessExceptionNullReferenceExceptionUriFormatExceptionOutOfMemoryExceptionNotSupportedExceptionpublic WebProxy(java.lang.String Address,
boolean BypassOnLocal)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
SecurityException,
MemberAccessException,
NullReferenceException,
UriFormatException,
OutOfMemoryException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionSecurityExceptionMemberAccessExceptionNullReferenceExceptionUriFormatExceptionOutOfMemoryExceptionNotSupportedExceptionpublic WebProxy(java.lang.String Address,
boolean BypassOnLocal,
java.lang.String[] BypassList)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
SecurityException,
MemberAccessException,
NullReferenceException,
UriFormatException,
OutOfMemoryException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionSecurityExceptionMemberAccessExceptionNullReferenceExceptionUriFormatExceptionOutOfMemoryExceptionNotSupportedExceptionpublic WebProxy(java.lang.String Address,
boolean BypassOnLocal,
java.lang.String[] BypassList,
ICredentials Credentials)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
SecurityException,
MemberAccessException,
NullReferenceException,
UriFormatException,
OutOfMemoryException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionSecurityExceptionMemberAccessExceptionNullReferenceExceptionUriFormatExceptionOutOfMemoryExceptionNotSupportedExceptionpublic WebProxy(java.lang.String Host,
int Port)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
CultureNotFoundException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
SecurityException,
MemberAccessException,
NullReferenceException,
ConfigurationException,
UriFormatException,
OutOfMemoryException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionSecurityExceptionMemberAccessExceptionNullReferenceExceptionConfigurationExceptionUriFormatExceptionOutOfMemoryExceptionNotSupportedExceptionpublic WebProxy(Uri Address) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NotSupportedException, SecurityException
public WebProxy(Uri Address, boolean BypassOnLocal) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NotSupportedException, SecurityException
public WebProxy(Uri Address, boolean BypassOnLocal, java.lang.String[] BypassList) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NotSupportedException, SecurityException
public WebProxy(Uri Address, boolean BypassOnLocal, java.lang.String[] BypassList, ICredentials Credentials) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NullReferenceException, ObjectDisposedException, RankException, NotSupportedException, SecurityException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionNullReferenceExceptionObjectDisposedExceptionRankExceptionNotSupportedExceptionSecurityExceptionNotImplementedExceptionpublic 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, ArgumentException, ArgumentNullException, SocketException, InvalidOperationException, ObjectDisposedException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SecurityException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionSocketExceptionInvalidOperationExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionpublic NetArrayList getBypassArrayList() throws java.lang.Throwable, ArgumentException, ArgumentNullException, SocketException, InvalidOperationException, ObjectDisposedException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SecurityException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionSocketExceptionInvalidOperationExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionpublic java.lang.String[] getBypassList()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
SocketException,
InvalidOperationException,
ObjectDisposedException,
ArgumentOutOfRangeException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException,
SecurityException,
NotSupportedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionSocketExceptionInvalidOperationExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionNotSupportedExceptionpublic boolean getBypassProxyOnLocal()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
SocketException,
InvalidOperationException,
ObjectDisposedException,
ArgumentOutOfRangeException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException,
SecurityException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionSocketExceptionInvalidOperationExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionpublic ICredentials getCredentials() throws java.lang.Throwable
java.lang.Throwablepublic static WebProxy GetDefaultProxy() throws java.lang.Throwable, ArgumentException, ArgumentNullException, SocketException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
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, ArgumentNullException, ArgumentException, SocketException, MissingManifestResourceException, InvalidOperationException, ObjectDisposedException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, UriFormatException, OutOfMemoryException, FormatException, MissingMethodException, TargetInvocationException, NotSupportedException, NetworkInformationException, RegexMatchTimeoutException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionSocketExceptionMissingManifestResourceExceptionInvalidOperationExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionUriFormatExceptionOutOfMemoryExceptionFormatExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNetworkInformationExceptionRegexMatchTimeoutExceptionpublic boolean getUseDefaultCredentials()
throws java.lang.Throwable
java.lang.Throwablepublic boolean IsBypassed(Uri host) throws java.lang.Throwable, ArgumentNullException, ArgumentException, SocketException, MissingManifestResourceException, InvalidOperationException, ObjectDisposedException, ArgumentOutOfRangeException, SecurityException, UriFormatException, OutOfMemoryException, IndexOutOfRangeException, FormatException, MissingMethodException, TargetInvocationException, NotSupportedException, NetworkInformationException, CultureNotFoundException, RegexMatchTimeoutException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionSocketExceptionMissingManifestResourceExceptionInvalidOperationExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionSecurityExceptionUriFormatExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNetworkInformationExceptionCultureNotFoundExceptionRegexMatchTimeoutExceptionpublic void setAddress(Uri Address) throws java.lang.Throwable, ArgumentException, ArgumentNullException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionpublic void setBypassList(java.lang.String[] BypassList)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
OutOfMemoryException,
IndexOutOfRangeException,
MissingManifestResourceException,
NullReferenceException,
ObjectDisposedException,
RankException,
NotSupportedException,
SecurityException,
NotImplementedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionNullReferenceExceptionObjectDisposedExceptionRankExceptionNotSupportedExceptionSecurityExceptionNotImplementedExceptionpublic void setBypassProxyOnLocal(boolean BypassProxyOnLocal)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionpublic 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,
ArgumentNullException,
FormatException,
ArgumentException,
IndexOutOfRangeException,
NullReferenceException,
ArgumentOutOfRangeException,
NotSupportedException