|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the adapter between the servlet world and the protocol implementation. Tomcat.core will receive a Request/Response object - it can be either a normal HTTP request or any other protocol that can be mapped to a Request/Response model - including AJPxx, JNI, etc. If tomcat is integrated with a web server it will probably use a optimized binary protocol or JNI to communicate with the server, and in this case tomcat will be in fact a AJP or JNI server. The Request and Response can be created and should be reused by the connector. The connector must implement the get/set pattern for configuration, and may use setProperty( name, value ) pattern, but this is not under the control of the servlet engine ( and it's not part of this interface!).
Method Summary | |
void |
setAttribute(java.lang.String s,
java.lang.Object value)
Set a config property |
void |
setLogger(org.apache.tomcat.logging.Logger logger)
Set a org.apache.tomcat.logging.Logger explicitly |
void |
setServer(java.lang.Object cm)
Set the entry point to tomcat. |
void |
start()
Start the adapter. |
void |
stop()
Stop the connector. |
Method Detail |
public void start() throws java.lang.Exception
public void stop() throws java.lang.Exception
public void setServer(java.lang.Object cm)
public void setAttribute(java.lang.String s, java.lang.Object value)
public void setLogger(org.apache.tomcat.logging.Logger logger)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |