org.apache.jk.config
public class IISConfig extends BaseJkConfig
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:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ISAPI_LOG_LOCATION |
static java.lang.String |
ISAPI_REG_FILE |
static java.lang.String |
URI_WORKERS_MAP_CONFIG |
static java.lang.String |
WORKERS_CONFIG |
append, configHome, forwardAll, jkDebug, jkLog, jkWorker, legacy, noRoot, regenerate, tomcatHome, workersConfig
Constructor and Description |
---|
IISConfig() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
addMapping(java.lang.String fullPath,
java.io.PrintWriter uri_worker)
Add a fulling specified IIS mapping.
|
protected boolean |
addMapping(java.lang.String ctxPath,
java.lang.String ext,
java.io.PrintWriter uri_worker)
Add an IIS extension mapping.
|
protected void |
generateContextMappings(Context context,
java.io.PrintWriter uri_worker) |
protected boolean |
generateJkHead(java.io.PrintWriter mod_jk)
Generate general options
|
protected void |
generateStupidMappings(Context context,
java.io.PrintWriter uri_worker)
Forward all requests for a context to tomcat.
|
protected java.io.PrintWriter |
getWriter()
Get the output Writer.
|
protected void |
initProperties()
Initialize defaults for properties that are not set
explicitely
|
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.
|
addExtensionMapping, execute, executeContext, executeEngine, executeHost, executeServer, generateJkTail, generateSSLConfig, generateVhostHead, generateVhostTail, getAbsoluteDocBase, getConfigFile, getHost, isAbsolute, lifecycleEvent, patch, setAppend, setConfigHome, setForwardAll, setJkDebug, setJkLog, setJkWorker, setLegacy, setNoRoot, setWorkersConfig
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 void setRegConfig(java.lang.String path)
path
- String path to a filepublic void setUriConfig(java.lang.String path)
path
- String path to uriworkermap.properties fileprotected void initProperties()
initProperties
in class BaseJkConfig
protected java.io.PrintWriter getWriter() throws java.io.IOException
BaseJkConfig
getWriter
in class BaseJkConfig
java.io.IOException
protected boolean generateJkHead(java.io.PrintWriter mod_jk)
BaseJkConfig
generateJkHead
in class BaseJkConfig
protected void generateStupidMappings(Context context, java.io.PrintWriter uri_worker)
generateStupidMappings
in class BaseJkConfig
protected void generateContextMappings(Context context, java.io.PrintWriter uri_worker)
generateContextMappings
in class BaseJkConfig
protected boolean addMapping(java.lang.String ctxPath, java.lang.String ext, java.io.PrintWriter uri_worker)
protected boolean addMapping(java.lang.String fullPath, java.io.PrintWriter uri_worker)
addMapping
in class BaseJkConfig
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.