org.apache.tomcat.util.handler
public class: TcHandlerCtx [javadoc |
source]
java.lang.Object
org.apache.tomcat.util.handler.TcHandlerCtx
Store all context informations for the invocation of a handler chain.
- author:
Costin
- Manolache
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from org.apache.tomcat.util.handler.TcHandlerCtx Detail: |
public final Object getNote(int id) {
return notes[id];
}
Get a note associated with this hanlder context. |
public final int getType() {
return type;
}
Get the type of the handler context. |
public void recycle() {
type = 0;
for( int i=0; i< notes.length; i++ ) {
notes[i]=null;
}
}
Recycle the hanlder context. |
public final void setNote(int id,
Object o) {
notes[id]=o;
}
Associate a note with this hanlder context. |
public final void setType(int type) {
this.type = type;
}
Set the type of the handler context. |