|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jk.core.MsgContext
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()
Deprecated. |
|
MsgContext(int bsize)
|
Method Summary | |
void |
action(ActionCode actionCode,
java.lang.Object param)
Send an action to the connector. |
int |
execute()
Invoke a java hook. |
byte[] |
getBuffer(int id)
Each context contains a number of byte[] buffers used for communication. |
java.lang.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()
|
java.lang.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(java.lang.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,
java.lang.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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int TIMER_RECEIVED
public static final int TIMER_PRE_REQUEST
public static final int TIMER_POST_REQUEST
public static final int JK_STATUS_NEW
public static final int JK_STATUS_HEAD
public static final int JK_STATUS_CLOSED
public static final int JK_STATUS_ERROR
Constructor Detail |
public MsgContext(int bsize)
public MsgContext()
Method Detail |
public final java.lang.Object getNote(int id)
public final void setNote(int id, java.lang.Object o)
public final int getType()
public final void setType(int i)
public final void setLong(int i, long l)
public final long getLong(int i)
public final WorkerEnv getWorkerEnv()
public final void setWorkerEnv(WorkerEnv we)
public final JkChannel getSource()
public final void setSource(JkChannel ch)
public final int getStatus()
public final void setStatus(int s)
public final JkHandler getNext()
public final void setNext(JkHandler ch)
public final void setRequest(Request req)
public final Request getRequest()
public final Msg getMsg(int i)
public final void setMsg(int i, Msg msg)
public final C2BConverter getConverter()
public final void setConverter(C2BConverter c2b)
public final boolean isLogTimeEnabled()
public JkInputStream getInputStream()
public byte[] getBuffer(int id)
public int execute() throws java.io.IOException
java.io.IOException
public void setJniEnv(long xEnvP)
public long getJniEnv()
public void setJniContext(long cContext)
public long getJniContext()
public java.lang.Object getControl()
public void setControl(java.lang.Object control)
public void action(ActionCode actionCode, java.lang.Object param)
ActionHook
action
in interface ActionHook
actionCode
- Type of the actionparam
- Action parameterpublic void recycle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |