Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jdmk.comm
Class HttpConnectorClient

    java.lang.Object
      |
      +--com.sun.jdmk.comm.GenericHttpConnectorClient
            |
            +--com.sun.jdmk.comm.HttpConnectorClient

public class HttpConnectorClient
extends GenericHttpConnectorClient

This class provides an implementation of the `RemoteMBeanServer` interface based on the HTTP/TCP protocol.

Querying a Java Dynamic Management agent with this connector implies that an instance of `HttpConnectorServer` is running on the remote Java Dynamic Management agent.

Note - Use the `connect` method to identify the Java Dynamic Management agent with which the connector must communicate.

It is possible to request the use of a specific proxy through the java properties `http.proxyHost=`host and `http.proxyPort=`port.

The authentication information required to configure the connector is provided by the ConnectorAddress parameter in the method `connect`.

By default, port 8081 is used to communicate with HTTP/TCP connector.

See Also:
  `RemoteMBeanServer`, `HttpConnectorServer`, Serialized Form

Constructor Summary
`HttpConnectorClient()` Constructs an `HttpConnectorClient`.
`HttpConnectorClient(java.net.InetAddress add)` Constructs an `HttpConnectorClient`.

Methods inherited from class com.sun.jdmk.comm.GenericHttpConnectorClient
`addHeartBeatNotificationListener, addNotificationListener, addProxy, clearCache, connect, createMBean, createMBean, createMBean, createMBean, disconnect, getAttribute, getAttributes, getCacheSize, getClassForProxyMBean, getClassLoader, getDefaultDomain, getGenericProxies, getGenericProxy, getHeartBeatPeriod, getHeartBeatRetries, getHost, getMapper, getMBeanCount, getMBeanInfo, getMBeanServerAddress, getMBeanServerId, getMode, getNotifications, getObjectInstance, getOperationContext, getOverflowCount, getOverflowMode, getPeriod, getProxyMBean, getProxyMBeans, invoke, isConnected, isInstanceOf, isRegistered, queryMBeans, queryNames, removeHeartBeatNotificationListener, removeNotificationListener, removeProxy, setAttribute, setAttributes, setCacheSize, setClassLoader, setHeartBeatPeriod, setHeartBeatRetries, setMapper, setMode, setOperationContext, setOverflowCount, setOverflowMode, setPeriod, supports, unregisterMBean`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### HttpConnectorClient

    public HttpConnectorClient()

  Constructs an `HttpConnectorClient`.

  Initializes this connector client with the default port (8081).

### HttpConnectorClient

    public HttpConnectorClient(java.net.InetAddress add)

  Constructs an `HttpConnectorClient`.

  Initializes this connector client with the default port (8081).

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD