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, isClosed
public HTTPConnectionManager(AbstractJMXConnectorServer server, java.lang.String protocol, java.util.Map environment)
public java.lang.String getProtocol()
ConnectionManager
protected Connection doConnect(java.lang.String connectionId, javax.security.auth.Subject subject) throws java.io.IOException
AbstractConnectionManager
doConnect
in class AbstractConnectionManager
connectionId
- 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 AbstractConnectionManager
java.io.IOException
- If this ConnectionManager cannot be closedprotected void doCloseConnection(Connection connection) throws java.io.IOException
doCloseConnection
in class AbstractConnectionManager
java.io.IOException