public interface ProtocolHandler
Adapter
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the protocol (optional).
|
Adapter |
getAdapter() |
Executor |
getExecutor()
The executor, provide access to the underlying thread pool.
|
void |
init()
Initialise the protocol.
|
boolean |
isAprRequired()
Requires APR/native library
|
boolean |
isCometSupported()
Does this ProtocolHandler support Comet?
|
boolean |
isCometTimeoutSupported()
Does this ProtocolHandler support Comet timeouts?
|
boolean |
isSendfileSupported()
Does this ProtocolHandler support sendfile?
|
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.
|
void setAdapter(Adapter adapter)
Adapter getAdapter()
Executor getExecutor()
boolean isAprRequired()
boolean isCometSupported()
boolean isCometTimeoutSupported()
boolean isSendfileSupported()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.