|
||||||||||
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(java.lang.String host,
int port)
Deprecated. HttpConnectorAddress constructor. |
|
HttpConnectorAddress(java.lang.String host,
int port,
AuthInfo authInfo)
Deprecated. HttpConnectorAddress constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Deprecated. Clone this HttpConnectorAddress . |
AuthInfo |
getAuthInfo()
Deprecated. Returns the value of the authentication info property. |
java.lang.String |
getConnectorType()
Deprecated. Returns the type of connector. |
java.lang.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(java.lang.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(java.lang.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(java.lang.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 java.lang.String getConnectorType()
getConnectorType
in interface ConnectorAddress
public java.lang.String getHost()
getHost
in interface GenericHttpConnectorAddress
public void setHost(java.lang.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 java.lang.Object clone()
HttpConnectorAddress
.
The cloning is done using Object.clone().
clone
in interface GenericHttpConnectorAddress
clone
in class java.lang.Object
Object.clone()
|
Open Source build 01-ea opendmk-1.0-b01-ea 2010.10.20_19:39:55_UTC |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |