| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private String | |
| private String | |
| private int | |
| private String | |
| private AlternateDocBase. | |
| private DirContext | |
| private DirContext | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static AlternateDocBase | Returns: The alternate doc base whose url pattern matches the given path, or null if no matching alternate doc base could be foundAttempts to match the given request path against one of the given alternate doc bases. |
| public String | Returns: The absolute doc base path of this AlternativeDocBaseGets the absolute doc base path of this AlternateDocBase. |
| public String | Returns: The (possibly relative) doc base path of this AlternativeDocBaseGets the (possibly relative) doc base path of this AlternateDocBase. |
| public DirContext | Returns: The proxied resources of this AlternateDocBaseGets the proxied resources of this AlternateDocBase. |
| private static int | Returns: The number of forward slashesThe string whose forward slashes to count s)Determines the number for forward slashes in the given string. |
| public String | Returns: The url pattern of this AlternativeDocBaseGets the url pattern of this AlternateDocBase. |
| public int | Returns: Number of slashes in the url pattern of this AlternateDocBase.Gets the number of slashes in the url pattern of this AlternateDocBase. |
| public String | Returns: The extension suffix of the url pattern of this AlternateDocBase, or null if the url pattern is not of type 'extension'Gets the extension suffix of the url pattern of this AlternateDocBase. |
| public AlternateDocBase. | Returns: The url pattern type (exact, wildcard, extension) of this AlternativeDocBaseGets the url pattern type (exact, wildcard, extension) of this AlternateDocBase. |
| public String | Returns: The wildcard path of this AlternateDocBase, or null if the pattern associated with this AlternateDocBase is not a wildcard patternGets the wildcard path of this AlternateDocBase (this is the path specified by the wildcard pattern, minus the trailing '*'). |
| public DirContext | Returns: The non-proxied resources of this AlternateDocBaseGets the non-proxied resources of this AlternateDocBase. |
| public void | setBasePath(String
The absolute doc base path of this AlternateDocBase basePath)Sets the absolute doc base path of this AlternateDocBase. |
| public void | setDocBase(String
The (possibly relative) doc base path of this AlternateDocBase docBase)Sets the (possibly relative) doc base path of this AlternateDocBase. |
| public void | setResources(DirContext
The proxied resources of this AlternateDocBase resources)Sets the proxied resources of this AlternateDocBase. |
| public void | setUrlPattern(String
The url pattern of this AlternateDocBase urlPattern)Sets the url pattern of this AlternateDocBase. |
| public void | setWebappResources(DirContext
The non-proxied resources of this AlternateDocBase webappResources)Sets the non-proxied resources of this AlternateDocBase. |
| basePath | back to summary |
|---|---|
| private String basePath | |
| docBase | back to summary |
|---|---|
| private String docBase | |
| pattern | back to summary |
|---|---|
| private String pattern | |
| patternSlashCount | back to summary |
|---|---|
| private int patternSlashCount | |
| patternSuffix | back to summary |
|---|---|
| private String patternSuffix | |
| patternType | back to summary |
|---|---|
| private AlternateDocBase. | |
| resources | back to summary |
|---|---|
| private DirContext resources | |
| webappResources | back to summary |
|---|---|
| private DirContext webappResources | |
| wildcardPath | back to summary |
|---|---|
| private String wildcardPath | |
| AlternateDocBase | back to summary |
|---|---|
| public AlternateDocBase() | |
| findMatch | back to summary |
|---|---|
| public static AlternateDocBase findMatch(String path, List<AlternateDocBase> alternateDocBases) Attempts to match the given request path against one of the given alternate doc bases.
| |
| getBasePath | back to summary |
|---|---|
| public String getBasePath() Gets the absolute doc base path of this AlternateDocBase.
| |
| getDocBase | back to summary |
|---|---|
| public String getDocBase() Gets the (possibly relative) doc base path of this AlternateDocBase.
| |
| getResources | back to summary |
|---|---|
| public DirContext getResources() Gets the proxied resources of this AlternateDocBase.
| |
| getSlashCount | back to summary |
|---|---|
| private static int getSlashCount(String s) Determines the number for forward slashes in the given string.
| |
| getUrlPattern | back to summary |
|---|---|
| public String getUrlPattern() Gets the url pattern of this AlternateDocBase.
| |
| getUrlPatternSlashCount | back to summary |
|---|---|
| public int getUrlPatternSlashCount() Gets the number of slashes in the url pattern of this AlternateDocBase.
| |
| getUrlPatternSuffix | back to summary |
|---|---|
| public String getUrlPatternSuffix() Gets the extension suffix of the url pattern of this AlternateDocBase.
| |
| getUrlPatternType | back to summary |
|---|---|
| public AlternateDocBase. Gets the url pattern type (exact, wildcard, extension) of this AlternateDocBase.
| |
| getUrlPatternWildcardPath | back to summary |
|---|---|
| public String getUrlPatternWildcardPath() Gets the wildcard path of this AlternateDocBase (this is the path specified by the wildcard pattern, minus the trailing '*').
| |
| getWebappResources | back to summary |
|---|---|
| public DirContext getWebappResources() Gets the non-proxied resources of this AlternateDocBase.
| |
| setBasePath | back to summary |
|---|---|
| public void setBasePath(String basePath) Sets the absolute doc base path of this AlternateDocBase.
| |
| setDocBase | back to summary |
|---|---|
| public void setDocBase(String docBase) Sets the (possibly relative) doc base path of this AlternateDocBase.
| |
| setResources | back to summary |
|---|---|
| public void setResources(DirContext resources) Sets the proxied resources of this AlternateDocBase.
| |
| setUrlPattern | back to summary |
|---|---|
| public void setUrlPattern(String urlPattern) Sets the url pattern of this AlternateDocBase.
| |
| setWebappResources | back to summary |
|---|---|
| public void setWebappResources(DirContext webappResources) Sets the non-proxied resources of this AlternateDocBase.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final AlternateDocBase. | |
| public static final AlternateDocBase. | |
| public static final AlternateDocBase. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static AlternateDocBase. | |
| public static AlternateDocBase. |
| EXACT | back to summary |
|---|---|
| public static final AlternateDocBase. | |
| EXTENSION | back to summary |
|---|---|
| public static final AlternateDocBase. | |
| WILDCARD | back to summary |
|---|---|
| public static final AlternateDocBase. | |
| UrlPatternType | back to summary |
|---|---|
| private UrlPatternType() | |
| valueOf | back to summary |
|---|---|
| public static AlternateDocBase. | |
| values | back to summary |
|---|---|
| public static AlternateDocBase. | |