public class WebProxy extends NetObject
.NET documentation at https://learn.microsoft.com/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=8.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()
Initializes a new instance by invoking the .NET constructor.
|
WebProxy(java.lang.Object instance)
Internal constructor.
|
WebProxy(java.lang.String Address)
Initializes a new instance by invoking the .NET constructor.
|
WebProxy(java.lang.String Address,
boolean BypassOnLocal)
Initializes a new instance by invoking the .NET constructor.
|
WebProxy(java.lang.String Address,
boolean BypassOnLocal,
java.lang.String[] BypassList)
Initializes a new instance by invoking the .NET constructor.
|
WebProxy(java.lang.String Address,
boolean BypassOnLocal,
java.lang.String[] BypassList,
ICredentials Credentials)
Initializes a new instance by invoking the .NET constructor.
|
WebProxy(java.lang.String Host,
int Port)
Initializes a new instance by invoking the .NET constructor.
|
WebProxy(Uri Address)
Initializes a new instance by invoking the .NET constructor.
|
WebProxy(Uri Address,
boolean BypassOnLocal)
Initializes a new instance by invoking the .NET constructor.
|
WebProxy(Uri Address,
boolean BypassOnLocal,
java.lang.String[] BypassList)
Initializes a new instance by invoking the .NET constructor.
|
WebProxy(Uri Address,
boolean BypassOnLocal,
java.lang.String[] BypassList,
ICredentials Credentials)
Initializes a new instance by invoking the .NET constructor.
|
| 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()
Gets the value of the .NET property Address.
|
NetArrayList |
getBypassArrayList()
Gets the value of the .NET property BypassArrayList.
|
java.lang.String[] |
getBypassList()
Gets the value of the .NET property BypassList.
|
boolean |
getBypassProxyOnLocal()
Gets the value of the .NET property BypassProxyOnLocal.
|
ICredentials |
getCredentials()
Gets the value of the .NET property Credentials.
|
static WebProxy |
GetDefaultProxy()
Invokes the .NET member GetDefaultProxy.
|
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. |
Uri |
GetProxy(Uri destination)
Invokes the .NET member GetProxy.
|
boolean |
getUseDefaultCredentials()
Gets the value of the .NET property UseDefaultCredentials.
|
boolean |
IsBypassed(Uri host)
Invokes the .NET member IsBypassed.
|
void |
setAddress(Uri Address)
Sets the value of the .NET property Address.
|
void |
setBypassList(java.lang.String[] BypassList)
Sets the value of the .NET property BypassList.
|
void |
setBypassProxyOnLocal(boolean BypassProxyOnLocal)
Sets the value of the .NET property BypassProxyOnLocal.
|
void |
setCredentials(ICredentials Credentials)
Sets the value of the .NET property Credentials.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setUseDefaultCredentials(boolean UseDefaultCredentials)
Sets the value of the .NET property UseDefaultCredentials.
|
public 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,
InvalidOperationException,
PlatformNotSupportedException,
RegexParseException,
NotSupportedException
java.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itRegexParseException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic WebProxy(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 WebProxy(java.lang.String Address)
throws java.lang.Throwable,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
InvalidOperationException,
CultureNotFoundException,
ArgumentException,
ArgumentOutOfRangeException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
UnreachableException,
RankException,
ArrayTypeMismatchException,
RegexParseException,
NotSupportedException
Address - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itRegexParseException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic WebProxy(java.lang.String Address,
boolean BypassOnLocal)
throws java.lang.Throwable,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
InvalidOperationException,
CultureNotFoundException,
ArgumentException,
ArgumentOutOfRangeException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
UnreachableException,
RankException,
ArrayTypeMismatchException,
RegexParseException,
NotSupportedException
Address - the argument of type java.lang.StringBypassOnLocal - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itRegexParseException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic WebProxy(java.lang.String Address,
boolean BypassOnLocal,
java.lang.String[] BypassList)
throws java.lang.Throwable,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
InvalidOperationException,
CultureNotFoundException,
ArgumentException,
ArgumentOutOfRangeException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
UnreachableException,
RankException,
ArrayTypeMismatchException,
RegexParseException,
NotSupportedException
Address - the argument of type java.lang.StringBypassOnLocal - the argument of type booleanBypassList - the argument of type java.lang.String[]java.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itRegexParseException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic WebProxy(java.lang.String Address,
boolean BypassOnLocal,
java.lang.String[] BypassList,
ICredentials Credentials)
throws java.lang.Throwable,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
InvalidOperationException,
CultureNotFoundException,
ArgumentException,
ArgumentOutOfRangeException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
UnreachableException,
RankException,
ArrayTypeMismatchException,
RegexParseException,
NotSupportedException
Address - the argument of type java.lang.StringBypassOnLocal - the argument of type booleanBypassList - the argument of type java.lang.String[]Credentials - the argument of type ICredentialsjava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itRegexParseException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic WebProxy(java.lang.String Host,
int Port)
throws java.lang.Throwable,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
InvalidOperationException,
CultureNotFoundException,
ArgumentException,
ArgumentOutOfRangeException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
UnreachableException,
RankException,
ArrayTypeMismatchException,
RegexParseException,
NotSupportedException
Host - the argument of type java.lang.StringPort - the argument of type intjava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itRegexParseException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic WebProxy(Uri Address) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, InvalidOperationException, PlatformNotSupportedException, RegexParseException, NotSupportedException
Address - the argument of type Urijava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itRegexParseException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic WebProxy(Uri Address, boolean BypassOnLocal) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, InvalidOperationException, PlatformNotSupportedException, RegexParseException, NotSupportedException
Address - the argument of type UriBypassOnLocal - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itRegexParseException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic WebProxy(Uri Address, boolean BypassOnLocal, java.lang.String[] BypassList) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, InvalidOperationException, PlatformNotSupportedException, RegexParseException, NotSupportedException
Address - the argument of type UriBypassOnLocal - the argument of type booleanBypassList - the argument of type java.lang.String[]java.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itRegexParseException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic 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
Address - the argument of type UriBypassOnLocal - the argument of type booleanBypassList - the argument of type java.lang.String[]Credentials - the argument of type ICredentialsjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRegexParseException - if the .NET member raises itFormatException - if the .NET member raises itpublic 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.Throwable - if the call fails in the bridge or in the CLRpublic NetArrayList getBypassArrayList() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String[] getBypassList()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
ArgumentNullException,
RankException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic boolean getBypassProxyOnLocal()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ICredentials getCredentials() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static WebProxy GetDefaultProxy() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
java.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 itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic Uri GetProxy(Uri destination) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, UriFormatException, OutOfMemoryException, UnreachableException, FormatException, SocketException, NetworkInformationException, EventSourceException, ExternalException, CultureNotFoundException, RegexParseException, NotImplementedException, RegexMatchTimeoutException
destination - the argument of type Urijava.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 itUriFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itFormatException - if the .NET member raises itSocketException - if the .NET member raises itNetworkInformationException - if the .NET member raises itEventSourceException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRegexParseException - if the .NET member raises itNotImplementedException - if the .NET member raises itRegexMatchTimeoutException - if the .NET member raises itpublic boolean getUseDefaultCredentials()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean IsBypassed(Uri host) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, UriFormatException, OutOfMemoryException, UnreachableException, FormatException, SocketException, NetworkInformationException, EventSourceException, ExternalException, CultureNotFoundException, RegexParseException, NotImplementedException, RegexMatchTimeoutException
host - the argument of type Urijava.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 itUriFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itFormatException - if the .NET member raises itSocketException - if the .NET member raises itNetworkInformationException - if the .NET member raises itEventSourceException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRegexParseException - if the .NET member raises itNotImplementedException - if the .NET member raises itRegexMatchTimeoutException - if the .NET member raises itpublic void setAddress(Uri Address) throws java.lang.Throwable
Address - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setBypassList(java.lang.String[] BypassList)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
InvalidOperationException,
RegexParseException,
FormatException
BypassList - the new value of the propertyjava.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 itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRegexParseException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setBypassProxyOnLocal(boolean BypassProxyOnLocal)
throws java.lang.Throwable
BypassProxyOnLocal - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCredentials(ICredentials Credentials) throws java.lang.Throwable
Credentials - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setUseDefaultCredentials(boolean UseDefaultCredentials)
throws java.lang.Throwable
UseDefaultCredentials - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR