|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tomcat.core.BaseInterceptor
org.apache.tomcat.modules.config.BaseJkConfig
org.apache.tomcat.modules.config.IISConfig
Generates automatic IIS isapi_redirect configurations based on the Tomcat server.xml settings and the war contexts initialized during startup.
This config interceptor is enabled by inserting an IISConfig element in the <ContextManager> tag body inside the server.xml file like so:
< ContextManager ... > ... <IISConfig options /> ... < /ContextManager >where options can include any of the following attributes:
Field Summary | |
static java.lang.String |
ISAPI_LOG_LOCATION
|
static java.lang.String |
ISAPI_PROP_FILE
|
static java.lang.String |
ISAPI_REDIRECTOR
|
static java.lang.String |
ISAPI_REG_FILE
|
static java.lang.String |
URI_WORKERS_MAP_CONFIG
|
static java.lang.String |
WORKERS_CONFIG
|
Fields inherited from class org.apache.tomcat.modules.config.BaseJkConfig |
configHome, forwardAll, jkDebug, jkLog, jkWorker, noRoot, regenerate, tomcatHome, workersConfig |
Fields inherited from class org.apache.tomcat.core.BaseInterceptor |
cm, ct, ctx, debug, DECLINED, loghelper, OK |
Constructor Summary | |
IISConfig()
|
Method Summary | |
protected boolean |
addExtensionMapping(java.lang.String ctxPath,
java.lang.String ext,
java.io.PrintWriter uri_worker)
Add an IIS extension mapping. |
protected boolean |
addMapping(java.lang.String fullPath,
java.io.PrintWriter uri_worker)
Add a fulling specified IIS mapping. |
void |
execute(ContextManager cm)
executes the IISConfig interceptor. |
protected void |
initProperties(ContextManager cm)
Initialize defaults for properties that are not set explicitely |
void |
setIsapiRedirector(java.lang.String s)
|
void |
setRegConfig(java.lang.String path)
set the path to the output file for the auto-generated isapi_redirect registry file. |
void |
setUriConfig(java.lang.String path)
set a path to the uriworkermap.properties file. |
Methods inherited from class org.apache.tomcat.modules.config.BaseJkConfig |
addInterceptor, addMapping, contextInit, engineState, getAbsoluteDocBase, initWorker, setConfigHome, setForwardAll, setJkDebug, setJkLog, setJkWorker, setNoRoot, setWorkersConfig |
Methods inherited from class org.apache.tomcat.core.BaseInterceptor |
addContainer, addContext, addHandler, addSecurityConstraint, afterBody, authenticate, authorize, beforeBody, beforeCommit, contextMap, contextShutdown, contextState, copyContext, engineInit, engineShutdown, engineStart, engineStop, findSession, getContext, getContextManager, getDebug, getInfo, getLog, getNote, getNote, handleError, log, log, log, log, postInitCheck, postReadRequest, postRequest, postService, postServletDestroy, postServletInit, preInitCheck, preService, preServletDestroy, preServletInit, registerHooks, reload, removeContainer, removeContext, removeHandler, removeInterceptor, requestMap, sessionState, setContext, setContextManager, setDebug, setInfo, setNote, setNote |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String WORKERS_CONFIG
public static final java.lang.String URI_WORKERS_MAP_CONFIG
public static final java.lang.String ISAPI_LOG_LOCATION
public static final java.lang.String ISAPI_REG_FILE
public static final java.lang.String ISAPI_PROP_FILE
public static final java.lang.String ISAPI_REDIRECTOR
Constructor Detail |
public IISConfig()
Method Detail |
public void setRegConfig(java.lang.String path)
public void setUriConfig(java.lang.String path)
public void setIsapiRedirector(java.lang.String s)
protected void initProperties(ContextManager cm)
initProperties
in class BaseJkConfig
public void execute(ContextManager cm) throws TomcatException
execute
in class BaseJkConfig
TomcatException
protected boolean addExtensionMapping(java.lang.String ctxPath, java.lang.String ext, java.io.PrintWriter uri_worker)
addExtensionMapping
in class BaseJkConfig
protected boolean addMapping(java.lang.String fullPath, java.io.PrintWriter uri_worker)
addMapping
in class BaseJkConfig
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |