public class HTTPConnectionManager extends AbstractConnectionManager
| Constructor and Description |
|---|
HTTPConnectionManager(AbstractJMXConnectorServer server,
java.lang.String protocol,
java.util.Map environment) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose()
HTTPConnectionManager does not really manages connections,
so this method does nothing by default
|
protected void |
doCloseConnection(Connection connection)
HTTPConnectionManager does not really manages connections,
so this method does nothing by default
|
protected Connection |
doConnect(java.lang.String connectionId,
javax.security.auth.Subject subject)
Template method to be implemented by subclasses; must return the server-side part of
a connection.
|
java.lang.String |
getProtocol()
Returns the protocol used by the corrispondent JMXConnectorServer.
|
authenticate, close, closeConnection, connect, createConnectionID, getEnvironment, getSecurityContext, isClosedpublic HTTPConnectionManager(AbstractJMXConnectorServer server, java.lang.String protocol, java.util.Map environment)
public java.lang.String getProtocol()
ConnectionManagerprotected Connection doConnect(java.lang.String connectionId, javax.security.auth.Subject subject) throws java.io.IOException
AbstractConnectionManagerdoConnect in class AbstractConnectionManagerconnectionId - The connection ID for connection that is returnedsubject - The authenticated Subjectjava.io.IOException - If the connection cannot be createdprotected void doClose()
throws java.io.IOException
doClose in class AbstractConnectionManagerjava.io.IOException - If this ConnectionManager cannot be closedprotected void doCloseConnection(Connection connection) throws java.io.IOException
doCloseConnection in class AbstractConnectionManagerjava.io.IOException