|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.util.parameter.AbstractParameterContext
com.arsdigita.runtime.AbstractConfig
com.arsdigita.web.WebConfig
A record containing server-session scoped configuration properties. Accessors of this class may return null. Developers should take care to trap null return values in their code.
Web
Field Summary | |
static String |
versionId
|
Constructor Summary | |
WebConfig()
|
Method Summary | |
ApplicationFileResolver |
getApplicationFileResolver()
|
CachePolicy |
getCachePolicy()
Gets the system default cache policy. |
Host |
getCurrentHost()
Deprecated. Use Host.retrieve(Web.getConfig().getHost()) instead. |
String |
getDefaultScheme()
|
String |
getDispatcherContextPath()
|
String |
getDispatcherServletPath()
|
HttpHost |
getHost()
|
Host[] |
getHosts()
Deprecated. Use Host.retrieveAll() instead. |
HttpHost |
getServer()
|
String |
getServerName()
Deprecated. Use getServer().getName() instead. |
int |
getServerPort()
Deprecated. Use getServer().getPort() instead. |
String |
getSiteName()
|
Methods inherited from class com.arsdigita.runtime.AbstractConfig |
load, load, load, require |
Methods inherited from class com.arsdigita.util.parameter.AbstractParameterContext |
get, get, getParameters, load, load, loadInfo, register, save, set, validate, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String versionId
Constructor Detail |
public WebConfig()
Method Detail |
public final String getDefaultScheme()
public final HttpHost getServer()
public final HttpHost getHost()
public final String getSiteName()
public final String getDispatcherContextPath()
public final String getDispatcherServletPath()
public final ApplicationFileResolver getApplicationFileResolver()
public final CachePolicy getCachePolicy()
com.arsdigita.web.cache_policy
system property
using one fo the following values: user
for
per-user caching, world
for globally enabled
caching, and disable
to always prevent caching.
public final String getServerName()
getServer().getName()
instead.
public final int getServerPort()
getServer().getPort()
instead.
public final Host getCurrentHost()
Host.retrieve(Web.getConfig().getHost())
instead.
public final Host[] getHosts()
Host.retrieveAll()
instead.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |