Interface Connector

    • Method Detail

      • getExecutor

        java.util.concurrent.Executor getExecutor()
        Deprecated.
        Returns:
        the Executor used to submit tasks
      • getScheduler

        Scheduler getScheduler()
        Deprecated.
        Returns:
        the Scheduler used to schedule tasks
      • getByteBufferPool

        ByteBufferPool getByteBufferPool()
        Deprecated.
        Returns:
        the ByteBufferPool to acquire buffers from and release buffers to
      • getConnectionFactory

        ConnectionFactory getConnectionFactory​(java.lang.String nextProtocol)
        Deprecated.
        Parameters:
        nextProtocol - the next protocol
        Returns:
        the ConnectionFactory associated with the protocol name
      • getConnectionFactory

        <T> T getConnectionFactory​(java.lang.Class<T> factoryType)
        Deprecated.
      • getDefaultConnectionFactory

        ConnectionFactory getDefaultConnectionFactory()
        Deprecated.
        Returns:
        the default ConnectionFactory associated with the default protocol name
      • getConnectionFactories

        java.util.Collection<ConnectionFactory> getConnectionFactories()
        Deprecated.
      • getProtocols

        java.util.List<java.lang.String> getProtocols()
        Deprecated.
      • getIdleTimeout

        @ManagedAttribute("maximum time a connection can be idle before being closed (in ms)")
        long getIdleTimeout()
        Deprecated.
        Returns:
        the max idle timeout for connections in milliseconds
      • getTransport

        java.lang.Object getTransport()
        Deprecated.
        Returns:
        the underlying socket, channel, buffer etc. for the connector.
      • getConnectedEndPoints

        java.util.Collection<EndPoint> getConnectedEndPoints()
        Deprecated.
        Returns:
        immutable collection of connected endpoints
      • getName

        java.lang.String getName()
        Deprecated.
        Get the connector name if set.

        A ContextHandler may be configured with virtual hosts in the form "@connectorName" and will only serve requests from the named connector.

        Returns:
        The connector name or null.