|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jdmk.comm.HttpConnectorAddress
JdmkLegacyConnector
.
public class HttpConnectorAddress
This class defines the Authentication Information required by the HTTP connector in order to carry out login/password authentication.
Constructor Summary | |
---|---|
HttpConnectorAddress()
Deprecated. HttpConnectorAddress constructor. |
|
HttpConnectorAddress(String host,
int port)
Deprecated. HttpConnectorAddress constructor. |
|
HttpConnectorAddress(String host,
int port,
AuthInfo authInfo)
Deprecated. HttpConnectorAddress constructor. |
Method Summary | |
---|---|
Object |
clone()
Deprecated. Clone this HttpConnectorAddress . |
AuthInfo |
getAuthInfo()
Deprecated. Returns the value of the authentication info property. |
String |
getConnectorType()
Deprecated. Returns the type of connector. |
String |
getHost()
Deprecated. Returns the value of the server host property. |
int |
getPort()
Deprecated. Returns the value of the server port property. |
void |
setAuthInfo(AuthInfo authInfo)
Deprecated. Sets the value of the authentication info property. |
void |
setHost(String host)
Deprecated. Sets the value of the server host property. |
void |
setPort(int port)
Deprecated. Sets the value of the server port property. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpConnectorAddress()
Using this constructor no authentication information is provided, i.e. the connector client using this address will not send login/password information to its corresponding connector server.
The default host is the local hostname.
The default port is defined by com.sun.jdmk.ServiceName.HTTP_CONNECTOR_PORT.
public HttpConnectorAddress(String host, int port)
Using this constructor no authentication information is provided, i.e. the connector client using this address will not send login/password information to its corresponding connector server.
host
- The host specifies the hostname where the connector server runs.port
- The port specifies the port number where the connector server is listening for incoming connections.public HttpConnectorAddress(String host, int port, AuthInfo authInfo)
host
- The host specifies the hostname where the connector server runs.port
- The port specifies the port number where the connector server is listening for incoming connections.authInfo
- The authentication info specifies the login/password required by the connector server.Method Detail |
---|
public String getConnectorType()
getConnectorType
in interface ConnectorAddress
public String getHost()
getHost
in interface GenericHttpConnectorAddress
public void setHost(String host)
setHost
in interface GenericHttpConnectorAddress
host
- the new value of the server host property.public int getPort()
getPort
in interface GenericHttpConnectorAddress
public void setPort(int port)
setPort
in interface GenericHttpConnectorAddress
port
- the new value of the server port property.public AuthInfo getAuthInfo()
getAuthInfo
in interface GenericHttpConnectorAddress
public void setAuthInfo(AuthInfo authInfo)
setAuthInfo
in interface GenericHttpConnectorAddress
authInfo
- the new value of the authentication info property.public Object clone()
HttpConnectorAddress
.
The cloning is done using Object.clone().
clone
in interface GenericHttpConnectorAddress
clone
in class Object
Object.clone()
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |