org.apache.jk.server
public class JkCoyoteHandler extends JkHandler implements ProtocolHandler
| Modifier and Type | Field and Description |
|---|---|
protected JkMain |
jkMain |
protected static Log |
log |
domain, ERROR, HANDLE_FLUSH, HANDLE_RECEIVE_PACKET, HANDLE_SEND_PACKET, HANDLE_THREAD_END, id, LAST, mserver, name, next, nextName, OK, oname, properties, wEnv| Constructor and Description |
|---|
JkCoyoteHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Clean up and stop the handler
|
Adapter |
getAdapter() |
java.lang.Object |
getAttribute(java.lang.String name)
Retrieve config info.
|
java.util.Iterator |
getAttributeNames() |
JkMain |
getJkMain() |
java.lang.String |
getProperty(java.lang.String name) |
void |
init()
Start the protocol
|
int |
invoke(Msg msg,
MsgContext ep) |
void |
pause()
Pause the protocol (optional).
|
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.ObjectName oname) |
void |
resume()
Resume the protocol (optional).
|
void |
setAdapter(Adapter adapter)
The adapter, used to call the connector
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Pass config info
|
void |
setProperty(java.lang.String name,
java.lang.String value)
Set a property.
|
void |
start()
Start the protocol.
|
addHandlerCallback, createMsgContext, createMsgContext, getDomain, getId, getName, getNext, getObjectName, handleNotification, postDeregister, postRegister, preDeregister, setId, setName, setNext, setNext, setWorkerEnvpublic void setProperty(java.lang.String name,
java.lang.String value)
setProperty in class JkHandlerpublic java.lang.String getProperty(java.lang.String name)
getProperty in class JkHandlerpublic java.util.Iterator getAttributeNames()
getAttributeNames in interface ProtocolHandlerpublic void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in interface ProtocolHandlerpublic java.lang.Object getAttribute(java.lang.String name)
getAttribute in interface ProtocolHandlerpublic void setAdapter(Adapter adapter)
setAdapter in interface ProtocolHandlerpublic Adapter getAdapter()
getAdapter in interface ProtocolHandlerpublic JkMain getJkMain()
public void init()
init in interface ProtocolHandlerinit in class JkHandlerpublic void start()
ProtocolHandlerstart in interface ProtocolHandlerpublic void pause()
throws java.lang.Exception
ProtocolHandlerpause in interface ProtocolHandlerpause in class JkHandlerjava.lang.Exceptionpublic void resume()
throws java.lang.Exception
ProtocolHandlerresume in interface ProtocolHandlerresume in class JkHandlerjava.lang.Exceptionpublic void destroy()
JkHandlerdestroy in interface ProtocolHandlerdestroy in class JkHandlerpublic int invoke(Msg msg, MsgContext ep) throws java.io.IOException
public javax.management.ObjectName preRegister(javax.management.MBeanServer server,
javax.management.ObjectName oname)
throws java.lang.Exception
preRegister in interface javax.management.MBeanRegistrationpreRegister in class JkHandlerjava.lang.ExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.