public interface ProtocolHandler
Adapter
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the protocol (optional).
|
Adapter |
getAdapter() |
java.util.concurrent.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()
java.util.concurrent.Executor getExecutor()
void init() throws java.lang.Exception
java.lang.Exception
void start() throws java.lang.Exception
java.lang.Exception
void pause() throws java.lang.Exception
java.lang.Exception
void resume() throws java.lang.Exception
java.lang.Exception
void stop() throws java.lang.Exception
java.lang.Exception
void destroy() throws java.lang.Exception
java.lang.Exception
boolean isAprRequired()
boolean isCometSupported()
boolean isCometTimeoutSupported()
boolean isSendfileSupported()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.