AbstractAjpProtocol.AbstractAjpConnectionHandler (Apache Tomcat 7.0.104 API Documentation)

org.apache.coyote.ajp

## Class AbstractAjpProtocol.AbstractAjpConnectionHandler<S,P extends AbstractAjpProcessor<S>>

- java.lang.Object
- - org.apache.coyote.AbstractProtocol.AbstractConnectionHandler<S,P>
  - - org.apache.coyote.ajp.AbstractAjpProtocol.AbstractAjpConnectionHandler<S,P>

- All Implemented Interfaces:
    AbstractEndpoint.Handler
  Direct Known Subclasses:
    AjpAprProtocol.AjpConnectionHandler, AjpNioProtocol.AjpConnectionHandler, AjpProtocol.AjpConnectionHandler
  Enclosing class:
    AbstractAjpProtocol<S>

      protected abstract static class AbstractAjpProtocol.AbstractAjpConnectionHandler<S,P extends AbstractAjpProcessor<S>>
      extends AbstractProtocol.AbstractConnectionHandler<S,P>

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.apache.tomcat.util.net.AbstractEndpoint.Handler

      `AbstractEndpoint.Handler.SocketState`

  - ### Field Summary

    - ### Fields inherited from class org.apache.coyote.AbstractProtocol.AbstractConnectionHandler

      `connections, global, recycledProcessors, registerCount`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `AbstractAjpProtocol.AbstractAjpConnectionHandler()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected P` | `createUpgradeProcessor(SocketWrapper<S> socket, HttpUpgradeHandler httpUpgradeHandler)`
    `protected P` | `createUpgradeProcessor(SocketWrapper<S> socket, UpgradeInbound inbound)` Deprecated. Will be removed in Tomcat 8.0.x.
    `protected void` | `initSsl(SocketWrapper<S> socket, Processor<S> processor)`
    `protected void` | `longPoll(SocketWrapper<S> socket, Processor<S> processor)`

    - ### Methods inherited from class org.apache.coyote.AbstractProtocol.AbstractConnectionHandler

      `createProcessor, getGlobal, getLog, getProtocol, isAvailable, process, recycle, register, release, unregister`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractAjpProtocol.AbstractAjpConnectionHandler

          protected AbstractAjpProtocol.AbstractAjpConnectionHandler()

  - ### Method Detail

    - #### initSsl

          protected void initSsl(SocketWrapper<S> socket,
                     Processor<S> processor)

      Specified by:
        `initSsl` in class `AbstractProtocol.AbstractConnectionHandler<S,P extends AbstractAjpProcessor<S>>`

    - #### longPoll

          protected void longPoll(SocketWrapper<S> socket,
                      Processor<S> processor)

      Specified by:
        `longPoll` in class `AbstractProtocol.AbstractConnectionHandler<S,P extends AbstractAjpProcessor<S>>`

    - #### createUpgradeProcessor

          @Deprecated
          protected P createUpgradeProcessor(SocketWrapper<S> socket,
                                            UpgradeInbound inbound)

      Deprecated. Will be removed in Tomcat 8.0.x.
      Description copied from class: `AbstractProtocol.AbstractConnectionHandler`
      Create an instance of an HTTP upgrade processor.
      Specified by:
        `createUpgradeProcessor` in class `AbstractProtocol.AbstractConnectionHandler<S,P extends AbstractAjpProcessor<S>>`
      Parameters:
        `socket` - The socket associated with the connection to upgrade
        `inbound` - Listener to which data available events should be passed
      Returns:
        A Processor instance for the upgraded connection

    - #### createUpgradeProcessor

          protected P createUpgradeProcessor(SocketWrapper<S> socket,
                                 HttpUpgradeHandler httpUpgradeHandler)

      Specified by:
        `createUpgradeProcessor` in class `AbstractProtocol.AbstractConnectionHandler<S,P extends AbstractAjpProcessor<S>>`

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.