org.apache.jk.core
public class MsgContext extends Object implements ActionHook
| Field Summary | |
|---|---|
| static int | JK_STATUS_CLOSED |
| static int | JK_STATUS_ERROR |
| static int | JK_STATUS_HEAD |
| static int | JK_STATUS_NEW |
| static int | TIMER_POST_REQUEST |
| static int | TIMER_PRE_REQUEST |
| static int | TIMER_RECEIVED |
| Constructor Summary | |
|---|---|
| MsgContext(int bsize) | |
| MsgContext() | |
| Method Summary | |
|---|---|
| void | action(ActionCode actionCode, Object param) |
| int | execute() Invoke a java hook. |
| byte[] | getBuffer(int id) Each context contains a number of byte[] buffers used for communication.
|
| Object | getControl() |
| C2BConverter | getConverter() |
| JkInputStream | getInputStream() |
| long | getJniContext() |
| long | getJniEnv() |
| long | getLong(int i) |
| Msg | getMsg(int i) The context may store a number of messages ( buffers + marshalling ) |
| JkHandler | getNext() |
| Object | getNote(int id) |
| Request | getRequest() |
| JkChannel | getSource() |
| int | getStatus() |
| int | getType() The id of the chain |
| WorkerEnv | getWorkerEnv() |
| boolean | isLogTimeEnabled() |
| void | recycle() |
| void | setControl(Object control) |
| void | setConverter(C2BConverter c2b) |
| void | setJniContext(long cContext) The long-lived JNI context associated with this java context.
|
| void | setJniEnv(long xEnvP) Store native execution context data when this handler is called
from JNI. |
| void | setLong(int i, long l) |
| void | setMsg(int i, Msg msg) |
| void | setNext(JkHandler ch) |
| void | setNote(int id, Object o) |
| void | setRequest(Request req) The high level request object associated with this context |
| void | setSource(JkChannel ch) |
| void | setStatus(int s) |
| void | setType(int i) |
| void | setWorkerEnv(WorkerEnv we) |
Deprecated: