| org.apache.coyote.tomcat3.CoyoteInterceptor2
CoyoteInterceptor2 | public class CoyoteInterceptor2 extends BaseInterceptor (Code) | | Standalone http.
Connector properties:
- secure - will load a SSL socket factory and act as https server
Properties passed to the net layer:
- timeout
- backlog
- address
- port
Thread pool properties:
- minSpareThreads
- maxSpareThreads
- maxThreads
- poolOn
Properties for HTTPS:
- keystore - certificates - default to ~/.keystore
- keypass - password
- clientauth - true if the server should authenticate the client using certs
Properties for HTTP:
- reportedname - name of server sent back to browser (security purposes)
- compression - use gzip compression in HTTP 1.1 (on/off) - def off
- compressionMinSize - minimum size content to use gzip compression in HTTP 1.1 - def 2048
- noCompressionUserAgents - comma separated list of userAgents who didn't support gzip
- restrictedUserAgents - comma separated list of userAgents who didn't support HTTP 1.1 (use HTTP 1.0)
- compressableMimeTypes - comma separated list of mime types supported for compression - def text/html,text/xml,text/plain
|
Method Summary | |
public void | engineInit(ContextManager cm) | public void | engineShutdown(ContextManager cm) | public void | engineStart(ContextManager cm) | public Object | getInfo(Context ctx, org.apache.tomcat.core.Request request, int id, String key) | public static boolean | isSSLAttribute(String key) Check if a string is a reserved SSL attribute key. | public int | postRequest(org.apache.tomcat.core.Request request, org.apache.tomcat.core.Response response) | public int | preService(org.apache.tomcat.core.Request request, org.apache.tomcat.core.Response response) Handle HTTP expectations. | public void | setAttribute(String prop, Object value) | public int | setInfo(Context ctx, org.apache.tomcat.core.Request request, int id, String key, String object) | public void | setProcessorClassName(String pcn) Set the class of the processor to use. | public void | setProperty(String prop, String value) |
protocolNote | int protocolNote(Code) | | |
CoyoteInterceptor2 | public CoyoteInterceptor2()(Code) | | |
engineInit | public void engineInit(ContextManager cm) throws TomcatException(Code) | | Called when the ContextManger is started
|
engineShutdown | public void engineShutdown(ContextManager cm) throws TomcatException(Code) | | |
engineStart | public void engineStart(ContextManager cm) throws TomcatException(Code) | | Called when the ContextManger is started
|
getInfo | public Object getInfo(Context ctx, org.apache.tomcat.core.Request request, int id, String key)(Code) | | getInfo calls for SSL data
the requested data |
isSSLAttribute | public static boolean isSSLAttribute(String key)(Code) | | Check if a string is a reserved SSL attribute key.
|
postRequest | public int postRequest(org.apache.tomcat.core.Request request, org.apache.tomcat.core.Response response)(Code) | | |
preService | public int preService(org.apache.tomcat.core.Request request, org.apache.tomcat.core.Response response)(Code) | | Handle HTTP expectations.
|
setInfo | public int setInfo(Context ctx, org.apache.tomcat.core.Request request, int id, String key, String object)(Code) | | |
setProcessorClassName | public void setProcessorClassName(String pcn)(Code) | | Set the class of the processor to use.
|
|
|