|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jk.core.MsgContext
Field Summary | |
static int |
TIMER_POST_REQUEST
|
static int |
TIMER_PRE_REQUEST
|
static int |
TIMER_RECEIVED
|
Constructor Summary | |
MsgContext()
|
Method Summary | |
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()
|
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)
|
java.lang.Object |
getRequest()
|
JkChannel |
getSource()
|
int |
getStatus()
|
int |
getType()
The id of the chain |
WorkerEnv |
getWorkerEnv()
|
void |
setControl(java.lang.Object control)
|
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(java.lang.Object 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
Constructor Detail |
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(java.lang.Object req)
public final java.lang.Object getRequest()
public final Msg getMsg(int i)
public final void setMsg(int i, Msg msg)
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |