org.apache.jk.server
Class JkCoyoteHandler
- ActionHook, InputBuffer, MBeanRegistration, NotificationListener, OutputBuffer, ProtocolHandler
public class JkCoyoteHandler
Plugs Jk2 into Coyote. Must be named "type=JkHandler,name=container"
ERROR , HANDLE_FLUSH , HANDLE_RECEIVE_PACKET , HANDLE_SEND_PACKET , HANDLE_THREAD_END , LAST , OK , domain , id , mserver , name , next , nextName , oname , properties , wEnv |
addHandlerCallback , createMsgContext , destroy , getDomain , getId , getName , getNext , getObjectName , getProperty , handleNotification , init , invoke , pause , postDeregister , postRegister , preDeregister , preRegister , resume , setId , setName , setNext , setNext , setProperty , setWorkerEnv |
JK_STATUS_CLOSED
public final int JK_STATUS_CLOSED
JK_STATUS_HEAD
public final int JK_STATUS_HEAD
JK_STATUS_NEW
public final int JK_STATUS_NEW
log
protected static org.apache.commons.logging.Log log
doRead
public int doRead(ByteChunk chunk,
Request req)
throws IOException
Return from the input stream.
IMPORTANT: the current model assumes that the protocol will 'own' the
buffer and return a pointer to it in ByteChunk ( i.e. the param will
have chunk.getBytes()==null before call, and the result after the call ).
- doRead in interface InputBuffer
getAttribute
public Object getAttribute(String name)
Retrieve config info.
Primarily for use with the admin webapp.
- getAttribute in interface ProtocolHandler
getJkMain
public JkMain getJkMain()
getProperty
public String getProperty(String name)
- getProperty in interface JkHandler
preRegister
public ObjectName preRegister(MBeanServer server,
ObjectName oname)
throws Exception
- preRegister in interface JkHandler
setProperty
public void setProperty(String name,
String value)
Set a property. Name is a "component.property". JMX should
be used instead.
- setProperty in interface JkHandler
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.