org.apache.jk.common |
|
Java Source File Name | Type | Comment |
AjpConstants.java | Class | |
ChannelJni.java | Class | |
ChannelNioSocket.java | Class | Accept ( and send ) TCP messages.
author: Costin Manolache author: Bill Barker author: jmx:mbean name="jk:service=ChannelNioSocket" author: description="Accept socket connections" author: jmx:notification name="org.apache.coyote.INVOKE author: jmx:notification-handler name="org.apache.jk.JK_SEND_PACKET author: jmx:notification-handler name="org.apache.jk.JK_RECEIVE_PACKET author: jmx:notification-handler name="org.apache.jk.JK_FLUSH author: Jk can use multiple protocols/transports. author: Various container adapters should load this object ( as a bean ), author: set configurations and use it. |
ChannelShm.java | Class | Channel using shm. |
ChannelSocket.java | Class | Accept ( and send ) TCP messages.
author: Costin Manolache author: Bill Barker author: jmx:mbean name="jk:service=ChannelNioSocket" author: description="Accept socket connections" author: jmx:notification name="org.apache.coyote.INVOKE author: jmx:notification-handler name="org.apache.jk.JK_SEND_PACKET author: jmx:notification-handler name="org.apache.jk.JK_RECEIVE_PACKET author: jmx:notification-handler name="org.apache.jk.JK_FLUSH author: Jk can use multiple protocols/transports. author: Various container adapters should load this object ( as a bean ), author: set configurations and use it. |
ChannelUn.java | Class | Pass messages using unix domain sockets. |
HandlerDispatch.java | Class | Dispatch based on the message type. |
HandlerRequest.java | Class | Handle messages related with basic request information.
This object can handle the following incoming messages:
- "FORWARD_REQUEST" input message ( sent when a request is passed from the
web server )
- "RECEIVE_BODY_CHUNK" input ( sent by container to pass more body, in
response to GET_BODY_CHUNK )
It can handle the following outgoing messages:
- SEND_HEADERS. |
JkInputStream.java | Class | |
JkMX.java | Class | Load the HTTP or RMI adapters for MX4J and JMXRI.
Add "mx.enabled=true" in jk2.properties to enable it.
You could also select http and/or jrmp protocol,
with mx.httpPort, mx.httpHost, mxjrmpPort and mx.jrmpPort.
If you run into an error message like
"SystemId Unknown; Line #12; Column #81; Cannot add attribute name after
child nodes or before an element is produced. |
JniHandler.java | Class | Base class for components using native code ( libjkjni.so ).
It allows to access the jk_env and wrap ( 'box' ? ) a native
jk component, and call it's methods.
Note that get/setAttribute are expensive ( Strings, etc ),
invoke() is were all optimizations are done. |
MsgAjp.java | Class | A single packet for communication between the web server and the
container. |
Shm.java | Class | Handle the shared memory objects. |
Shm14.java | Class | Shm implementation using JDK1.4 nio. |
WorkerDummy.java | Class | A dummy worker, will just send back a dummy response. |