| Modifier and Type | Class and Description |
|---|---|
| protected static class | |
| protected static class | |
| protected abstract static class | |
| protected static class | |
| protected static class | |
| protected static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | contextObjectToContextVersionMap
Mapping from Context object to Context version to support RequestDispatcher mappings. |
| private volatile Mapper. | |
| private volatile String | defaultHostName
Default host name. |
| pack-priv volatile Mapper. | hosts
Array containing the virtual hosts definitions. |
| private static final Log | |
| private static final StringManager |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addContextVersion(String
Virtual host name this context belongs to hostName, Host Host object host, String Context path path, String Context version version, Context Context object context, String[] Welcome files defined for this context welcomeResources, WebResourceRoot Static resources of the context resources, Collection<WrapperMappingInfo> Information on wrapper mappings wrappers)Add a new Context to an existing Host. |
| public synchronized void | |
| public synchronized void | addHostAlias(String
The name of the host name, String The alias to add alias)Add an alias to an existing host. |
| private synchronized boolean | |
| public void | addWelcomeFile(String
The host where the given context can be found hostName, String The path of the given context contextPath, String The version of the given context version, String The welcome file to add welcomeFile)Add a welcome file to the given context. |
| public void | |
| protected void | addWrapper(Mapper.
The context to which to add the wrapper context,Wrapper mapping path, Wrapper The Wrapper object wrapper, boolean true if the wrapper corresponds to the JspServlet and the mapping path contains a wildcard;
false otherwise jspWildCard, boolean true if this wrapper always expects a physical resource to be present (such as a JSP) resourceOnly)Adds a wrapper to the given context. |
| public void | addWrappers(String hostName, String contextPath, String version, Collection<WrapperMappingInfo> wrappers)
|
| private void | addWrappers(Mapper.
The context to which to add the wrappers contextVersion,Information on wrapper mappings wrappers)Adds wrappers to the given context. |
| public void | clearWelcomeFiles(String
The host where the context to be cleared can be found hostName, String The path of the context to be cleared contextPath, String The version of the context to be cleared version)Clear the welcome files for the given context. |
| private static int | |
| private static int | compareIgnoreCase(CharChunk name, int start, int end, String compareTo)
Compare given char chunk with String ignoring case. |
| private static <T, E extends Mapper. | |
| private static <T, E extends Mapper. | |
| private static <T, E extends Mapper. | exactFindIgnoreCase(E[] map, CharChunk name)
Find a map element given its name in a sorted array of map elements. |
| private static <T> int | find(Mapper.
Find a map element given its name in a sorted array of map elements. |
| private static <T> int | find(Mapper.
Find a map element given its name in a sorted array of map elements. |
| private static <T> int | find(Mapper.
Find a map element given its name in a sorted array of map elements. |
| private Mapper. | |
| private static <T> int | findIgnoreCase(Mapper.
Find a map element given its name in a sorted array of map elements. |
| private static <T> int | findIgnoreCase(Mapper.
Find a map element given its name in a sorted array of map elements. |
| private static <T> boolean | insertMap(Mapper.
Insert into the right place in a sorted MapElement array, and prevent duplicates. |
| private void | internalMap(CharChunk host, CharChunk uri, String version, MappingData mappingData)
Map the specified URI. |
| private void | internalMapExactWrapper(Mapper.
Exact mapping. |
| private void | internalMapExtensionWrapper(Mapper.
Set of wrappers to check for matches wrappers,Path to map path, MappingData Mapping data for result mappingData, boolean Is this mapping expecting to find a resource resourceExpected)Extension mappings. |
| private void | internalMapWildcardWrapper(Mapper.
Wildcard mapping. |
| private void | internalMapWrapper(Mapper.
Wrapper mapping. |
| private static int | |
| public void | map(MessageBytes
Virtual host name host, MessageBytes URI uri, String The version, if any, included in the request to be mapped version, MappingData This structure will contain the result of the mapping operation mappingData)Map the specified host name and URI, mutating the given mapping data. |
| public void | map(Context
The actual context context, MessageBytes URI uri, MappingData This structure will contain the result of the mapping operation mappingData)Map the specified URI relative to the context, mutating the given mapping data. |
| private static int | |
| public void | pauseContextVersion(Context
The actual context ctxt, String Virtual host name this context belongs to hostName, String Context path contextPath, String Context version version)Mark a context as being reloaded. |
| public void | removeContextVersion(Context
The actual context ctxt, String Virtual host name this context belongs to hostName, String Context path path, String Context version version)Remove a context from an existing host. |
| public synchronized void | |
| public synchronized void | |
| private static <T> boolean | removeMap(Mapper.
Insert into the right place in a sorted MapElement array. |
| public void | removeWelcomeFile(String
The host where the given context can be found hostName, String The path of the given context contextPath, String The version of the given context version, String The welcome file to remove welcomeFile)Remove a welcome file from the given context. |
| public void | removeWrapper(String
Virtual host name this wrapper belongs to hostName, String Context path this wrapper belongs to contextPath, String Context version this wrapper belongs to version, String Wrapper mapping path)Remove a wrapper from an existing context. |
| protected void | |
| private static String | |
| public synchronized void | |
| private static int | |
| private void | updateContextList(Mapper.
Replace |