Proxy

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.ms.System.IDisposable

public abstract class Proxy implements System.IDisposable

Base proxy client.

Methods

MethodDescription
dispose()Disposes this instance and requests that the underlying TCP connection be closed.
equals(Object arg0)
getAddress()The domain name or IP address of the proxy server
getClass()
getPassword()Password for proxy authentication
getPort()The port number for the proxy server
getStream(String address, int port)Returns configured network stream to transport data to the required host through the proxy server.
getUsername()Username for proxy authentication
hashCode()
notify()
notifyAll()
setAddress(String value)The domain name or IP address of the proxy server
setPassword(String value)Password for proxy authentication
setPort(int value)The port number for the proxy server
setUsername(String value)Username for proxy authentication
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

dispose()

public void dispose()

Disposes this instance and requests that the underlying TCP connection be closed.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getAddress()

public final String getAddress()

The domain name or IP address of the proxy server

Returns: java.lang.String

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getPassword()

public final String getPassword()

Password for proxy authentication

Returns: java.lang.String

getPort()

public final int getPort()

The port number for the proxy server

Returns: int

getStream(String address, int port)

public System.IO.Stream getStream(String address, int port)

Returns configured network stream to transport data to the required host through the proxy server.

Parameters:

ParameterTypeDescription
addressjava.lang.StringThe domain name of the host we want to contact
portintThe port number of the host we want to contact

Returns: com.aspose.ms.System.IO.Stream - Returns configure network stream to connect with required host through the proxy server.

getUsername()

public final String getUsername()

Username for proxy authentication

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setAddress(String value)

public final void setAddress(String value)

The domain name or IP address of the proxy server

Parameters:

ParameterTypeDescription
valuejava.lang.String

setPassword(String value)

public final void setPassword(String value)

Password for proxy authentication

Parameters:

ParameterTypeDescription
valuejava.lang.String

setPort(int value)

public final void setPort(int value)

The port number for the proxy server

Parameters:

ParameterTypeDescription
valueint

setUsername(String value)

public final void setUsername(String value)

Username for proxy authentication

Parameters:

ParameterTypeDescription
valuejava.lang.String

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int