| Modifier and Type | Class and Description |
|---|---|
| protected static class | |
| protected static class |
| Modifier and Type | Field and Description |
|---|---|
| protected Adapter | adapter
The adapter provides the link between the ProtocolHandler and the connector. |
| private String | |
| protected String | |
| private final AbstractEndpoint | endpoint
Endpoint that provides low-level network I/O - must be matched to the ProtocolHandler implementation (ProtocolHandler using NIO, requires NIO Endpoint etc.). |
| private AbstractEndpoint. | |
| private int | |
| private ScheduledFuture | |
| protected MBeanServer | |
| private static final AtomicInteger | nameCounter
Counter used to generate unique JMX names for connectors using automatic port binding. |
| private int | nameIndex
Unique ID for this connector. |
| protected ObjectName | |
| protected int | processorCache
The maximum number of idle processors that will be retained in the cache and re-used with a subsequent request. |
| protected ObjectName | rgOname
Name of MBean for the Global Request Processor. |
| private static final StringManager | sm
The string manager for this package. |
| private ScheduledFuture | timeoutFuture
Controller for the timeout scheduling. |
| private final Set |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public long | awaitConnectionsClose(long
The maximum time to wait in milliseconds for the client connections to close. waitMillis)Implements org. Wait for the client connections to the server to close gracefully. |
| public void | closeServerSocketGraceful()
Implements org. Close the server socket (to prevent further connections) if the server socket was bound on |
| private ObjectName | |
| protected abstract Processor | Returns: A fully configured Processor instance that is ready to useCreate and configure a new Processor instance for the current protocol implementation. |
| protected abstract Processor | |
| public void | |
| public int | |
| public int | |
| public Adapter | getAdapter()
Implements org. Return the adapter associated with the protocol handler. |
| public InetAddress | |
| public String | Returns: The name of the JSSE provider to useWhen client certificate information is presented in a form other than instances of
|
| public long | |
| public int | |
| public int | |
| public String | |
| protected AbstractEndpoint | |
| public Executor | getExecutor()
Implements org. The executor, provide access to the underlying thread pool. |
| public ObjectName | |
| protected AbstractEndpoint. | |
| public String | getId()
Overrides default org. The default behavior is to identify connectors uniquely with address and port. |
| public int | Returns: The timeout in millisecondsThe time Tomcat will wait for a subsequent request before closing the connection. |
| public int | |
| protected abstract Log | Returns: the loggerConcrete implementations need to provide access to their logger to be used by the abstract classes. |
| public int | |
| public int | |
| public int | |
| public int | |
| public String | Returns: A name for this protocol instance that is appropriately quoted for use in an ObjectName.The name will be prefix-address-port if address is non-null and prefix-port if the address is null. |
| public synchronized int | |
| private String | |
| protected abstract String | Returns: the prefixObtain the prefix to be used when construction a name for this protocol handler. |
| protected abstract UpgradeProtocol | Returns: The instance whereUpgradeProtocol#getAlpnName() matches the requested protocolThe name of the requested negotiated protocol. name)Find a suitable handler for the protocol negotiated at the network layer. |
| public ObjectName | |
| public int | |
| public int | |
| public int | |
| public int | |
| public String | Returns: The value of the property converted to a stringThe name of the property to get name)Generic property getter used by the digester. |
| protected abstract String | |
| public boolean | |
| public int | |
| protected abstract UpgradeProtocol | Returns: The instance whereUpgradeProtocol#getAlpnName() matches the requested protocolThe name of the requested negotiated protocol. name)Find a suitable handler for the protocol upgraded name specified. |
| public ScheduledExecutorService | getUtilityExecutor()
Implements org. Get the utility executor that should be used by the protocol handler. |
| public int | |
| public void | |
| public boolean | |
| public boolean | isSendfileSupported()
Implements org. Does this ProtocolHandler support sendfile? |
| private void | |
| public void | |
| public void | postDeregister()
Implements javax. Allows the MBean to perform any operations needed after having been unregistered in the MBean server. |
| public void | postRegister(Boolean
Indicates whether or not the MBean has
been successfully registered in the MBean server. The value
false means that the registration phase has failed. registrationDone)Implements javax. Allows the MBean to perform any operations needed after having been registered in the MBean server or after the registration has failed. |
| public void | preDeregister()
Implements javax. Allows the MBean to perform any operations it needs before being unregistered by the MBean server. |
| public ObjectName | preRegister(MBeanServer
The MBean Server in which the MBean will be registered. server, ObjectName The object name of the MBean. This name is null if
the name parameter to one of the name)createMBean or
registerMBean methods in the MBeanServer
interface is null. In that case, this method must return a
non-null ObjectName for the new MBean.Implements javax. Allows the MBean to perform any operations it needs before being registered in the MBean Server. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setAdapter(Adapter
The adapter to associate adapter)Implements org. The adapter, used to call the connector. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setExecutor(Executor
the executor executor)Implements org. Set the optional executor that will be used by the connector. |
| protected void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public boolean | Returns: true if the property was set successfully, otherwise falseThe name of the property to set name, String The value, in string form, to set for the property value)Generic property setter used by the digester. |
| public void | |
| public void | |
| public void | setUtilityExecutor(ScheduledExecutorService
the executor utilityExecutor)Implements org. Set the utility executor that should be used by the protocol handler. |
| public void | |
| protected void | startAsyncTimeout()
Note The name of this method originated with the Servlet 3.0 asynchronous processing but evolved over time to represent a timeout that is triggered independently of the socket read/write timeouts. |
| public void | |
| protected void |