Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.jk.common: Javadoc index of package org.apache.jk.common.


Package Samples:

org.apache.jk.common

Classes:

JkMX: 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. Attribute will be ignored." after setting mx.enabled to true, you probably need a newer version of Xalan. See the RELEASE-NOTES document section on XML Parsers for more information.
HandlerRequest: 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. Pass the status code and headers. - SEND_BODY_CHUNK. Send a chunk of body - GET_BODY_CHUNK. Request a chunk of body data - END_RESPONSE. Notify the end of a request processing.
JniHandler: 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. We do recycle all memory on both C and java sides ( the only exception is when we attempt pinning but the VM doesn't support it ). The low level optimizations from ByteBuffer, etc are used to reduce the overhead of passing strings.
ModJkMX: A small mbean that will act as a proxy for mod_jk2. For efficiency, it'll get bulk results and cache them - you can force an update by calling the refreshAttributes and refreshMetadata operations on this mbean. TODO: implement the user/pass auth ( right now you must use IP based security ) TODO: eventually support https TODO: support for metadata ( mbean-descriptors ) for description and type conversions TODO: filter out trivial components ( mutexes, etc )
MsgAjp: A single packet for communication between the web server and the container. Designed to be reused many times with no creation of garbage. Understands the format of data types for these packets. Can be used (somewhat confusingly) for both incoming and outgoing packets. See Ajp14/Ajp13Packet.java.
HandlerDispatch: Dispatch based on the message type. ( XXX make it more generic, now it's specific to ajp13 ).
WorkerDummy: A dummy worker, will just send back a dummy response. Used for testing and tunning.
ChannelUn: Pass messages using unix domain sockets.
AjpConstants: Common class for the AJP Protocol values
JkInputStream: Generic input stream impl on top of ajp
Shm14: Shm implementation using JDK1.4 nio.
ChannelSocket: Accept ( and send ) TCP messages.
Shm: Handle the shared memory objects.
ChannelNioSocket: Accept ( and send ) TCP messages.
ChannelJni: Pass messages using jni
ChannelShm: Channel using shm.
SocketAcceptor
SocketConnection
AprAcceptor
AprConnection

Home | Contact Us | Privacy Policy | Terms of Service