public interface ProtocolHandler
Adapter| Modifier and Type | Method and Description | 
|---|---|
| void | destroy()Destroy the protocol (optional). | 
| Adapter | getAdapter()Return the adapter associated with the protocol handler. | 
| Executor | getExecutor()The executor, provide access to the underlying thread pool. | 
| void | init()Initialise the protocol. | 
| boolean | isAprRequired()Requires APR/native library | 
| void | pause()Pause the protocol (optional). | 
| void | resume()Resume the protocol (optional). | 
| void | setAdapter(Adapter adapter)The adapter, used to call the connector. | 
| void | start()Start the protocol. | 
| void | stop()Stop the protocol. | 
Adapter getAdapter()
void setAdapter(Adapter adapter)
adapter - The adapter to associateExecutor getExecutor()
void init()
          throws Exception
Exception - If the protocol handler fails to initialisevoid start()
           throws Exception
Exception - If the protocol handler fails to startvoid pause()
           throws Exception
Exception - If the protocol handler fails to pausevoid resume()
            throws Exception
Exception - If the protocol handler fails to resumevoid stop()
          throws Exception
Exception - If the protocol handler fails to stopvoid destroy()
             throws Exception
Exception - If the protocol handler fails to destroyboolean isAprRequired()
true if this Protocol Handler requires the
         APR/native library, otherwise falseCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.