org.apache.coyote.tomcat3

Class CoyoteInterceptor2


public class CoyoteInterceptor2
extends BaseInterceptor

Standalone http. Connector properties: Properties passed to the net layer: Thread pool properties: Properties for HTTPS: Properties for HTTP:

Constructor Summary

CoyoteInterceptor2()

Method Summary

void
engineInit(ContextManager cm)
Called when the ContextManger is started
void
engineShutdown(ContextManager cm)
void
engineStart(ContextManager cm)
Called when the ContextManger is started
Object
getInfo(Context ctx, org.apache.tomcat.core.Request request, int id, String key)
getInfo calls for SSL data
static boolean
isSSLAttribute(String key)
Check if a string is a reserved SSL attribute key.
int
postRequest(org.apache.tomcat.core.Request request, org.apache.tomcat.core.Response response)
int
preService(org.apache.tomcat.core.Request request, org.apache.tomcat.core.Response response)
Handle HTTP expectations.
void
setAttribute(String prop, Object value)
int
setInfo(Context ctx, org.apache.tomcat.core.Request request, int id, String key, String object)
void
setProcessorClassName(String pcn)
Set the class of the processor to use.
void
setProperty(String prop, String value)

Constructor Details

CoyoteInterceptor2

public CoyoteInterceptor2()

Method Details

engineInit

public void engineInit(ContextManager cm)
            throws TomcatException
Called when the ContextManger is started


engineShutdown

public void engineShutdown(ContextManager cm)
            throws TomcatException


engineStart

public void engineStart(ContextManager cm)
            throws TomcatException
Called when the ContextManger is started


getInfo

public Object getInfo(Context ctx,
                      org.apache.tomcat.core.Request request,
                      int id,
                      String key)
getInfo calls for SSL data

Returns:
the requested data


isSSLAttribute

public static boolean isSSLAttribute(String key)
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)


preService

public int preService(org.apache.tomcat.core.Request request,
                      org.apache.tomcat.core.Response response)
Handle HTTP expectations.


setAttribute

public void setAttribute(String prop,
                         Object value)


setInfo

public int setInfo(Context ctx,
                   org.apache.tomcat.core.Request request,
                   int id,
                   String key,
                   String object)


setProcessorClassName

public void setProcessorClassName(String pcn)
Set the class of the processor to use.


setProperty

public void setProperty(String prop,
                        String value)


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.