|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.catalina.core.AlternateDocBase
public class AlternateDocBase
| Nested Class Summary | |
|---|---|
class |
AlternateDocBase.DirContext
|
class |
AlternateDocBase.ProxyDirContext
|
| Constructor Summary | |
|---|---|
AlternateDocBase()
|
|
| Method Summary | |
|---|---|
static AlternateDocBase |
findMatch(String path,
ArrayList<AlternateDocBase> alternateDocBases)
Attempts to match the given request path against one of the given alternate doc bases. |
String |
getBasePath()
Gets the absolute doc base path of this AlternateDocBase. |
String |
getDocBase()
Gets the (possibly relative) doc base path of this AlternateDocBase. |
AlternateDocBase.ProxyDirContext |
getResources()
Gets the proxied resources of this AlternateDocBase. |
String |
getUrlPattern()
Gets the url pattern of this AlternateDocBase. |
int |
getUrlPatternSlashCount()
Gets the number of slashes in the url pattern of this AlternateDocBase. |
String |
getUrlPatternSuffix()
Gets the extension suffix of the url pattern of this AlternateDocBase. |
org.apache.catalina.core.AlternateDocBase.UrlPatternType |
getUrlPatternType()
Gets the url pattern type (exact, wildcard, extension) of this AlternateDocBase. |
String |
getUrlPatternWildcardPath()
Gets the wildcard path of this AlternateDocBase (this is the path specified by the wildcard pattern, minus the trailing '*'). |
AlternateDocBase.DirContext |
getWebappResources()
Gets the non-proxied resources of this AlternateDocBase. |
void |
setBasePath(String basePath)
Sets the absolute doc base path of this AlternateDocBase. |
void |
setDocBase(String docBase)
Sets the (possibly relative) doc base path of this AlternateDocBase. |
void |
setResources(AlternateDocBase.ProxyDirContext resources)
Sets the proxied resources of this AlternateDocBase. |
void |
setUrlPattern(String urlPattern)
Sets the url pattern of this AlternateDocBase. |
void |
setWebappResources(AlternateDocBase.DirContext webappResources)
Sets the non-proxied resources of this AlternateDocBase. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlternateDocBase()
| Method Detail |
|---|
public void setUrlPattern(String urlPattern)
urlPattern - The url pattern of this AlternateDocBasepublic String getUrlPattern()
public org.apache.catalina.core.AlternateDocBase.UrlPatternType getUrlPatternType()
public int getUrlPatternSlashCount()
public String getUrlPatternSuffix()
public String getUrlPatternWildcardPath()
public void setDocBase(String docBase)
docBase - The (possibly relative) doc base path of this
AlternateDocBasepublic String getDocBase()
public void setBasePath(String basePath)
basePath - The absolute doc base path of this AlternateDocBasepublic String getBasePath()
public void setResources(AlternateDocBase.ProxyDirContext resources)
resources - The proxied resources of this AlternateDocBasepublic AlternateDocBase.ProxyDirContext getResources()
public void setWebappResources(AlternateDocBase.DirContext webappResources)
resources - The non-proxied resources of this AlternateDocBasepublic AlternateDocBase.DirContext getWebappResources()
public static AlternateDocBase findMatch(String path,
ArrayList<AlternateDocBase> alternateDocBases)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||