Interface Connector

    • Method Detail

      • getExecutor

        Executor getExecutor()
        Returns:
        the Executor used to submit tasks
      • getScheduler

        org.eclipse.jetty.util.thread.Scheduler getScheduler()
        Returns:
        the Scheduler used to schedule tasks
      • getByteBufferPool

        org.eclipse.jetty.io.ByteBufferPool getByteBufferPool()
        Returns:
        the ByteBufferPool to acquire buffers from and release buffers to
      • getConnectionFactory

        <T> T getConnectionFactory​(Class<T> factoryType)
      • getIdleTimeout

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

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

        Collection<org.eclipse.jetty.io.EndPoint> getConnectedEndPoints()
        Returns:
        immutable collection of connected endpoints
      • getName

        String getName()
        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.