|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.Application
org.apache.wicket.protocol.http.WebApplication
net.databinder.DataApplicationBase
public abstract class DataApplicationBase
Common functionality for Databinder applications.
| Field Summary |
|---|
| Fields inherited from class org.apache.wicket.Application |
|---|
CONFIGURATION, CONTEXTPATH, DEPLOYMENT, DEVELOPMENT |
| Constructor Summary | |
|---|---|
DataApplicationBase()
|
|
| Method Summary | |
|---|---|
protected abstract void |
dataInit()
Databinder initialization, client applications should not normally override. |
protected void |
internalInit()
Internal initialization. |
boolean |
isCookielessSupported()
|
protected boolean |
isDevelopment()
Reports if the program is running in a development environment, as determined by the "wicket.configuration" environment variable or context/init parameter. |
protected org.apache.wicket.IConverterLocator |
newConverterLocator()
Adds converters to Wicket's base locator. |
org.apache.wicket.RequestCycle |
newRequestCycle(org.apache.wicket.Request request,
org.apache.wicket.Response response)
|
protected org.apache.wicket.protocol.http.WebResponse |
newWebResponse(javax.servlet.http.HttpServletResponse servletResponse)
If isCookielessSupported() returns false, this method returns
a custom WebResponse that disables URL rewriting. |
protected void |
setCookielessSupported(boolean cookielessSupported)
Set to false to disable URL rewriting and consequentally hamper cookieless browsing. |
| Methods inherited from class org.apache.wicket.protocol.http.WebApplication |
|---|
getApplicationKey, getConfigurationType, getDefaultRequestCycleFactory, getInitParameter, getRequestCycleProcessor, getResourceFinder, getServletContext, getSessionAttributePrefix, getWicketFilter, init, internalDestroy, logEventTarget, logResponseTarget, mount, mount, mountBookmarkablePage, mountBookmarkablePage, mountSharedResource, newAjaxRequestTarget, newRequestCycleProcessor, newSession, newSession, newSession, newSessionStore, newWebRequest, outputDevelopmentModeWarning, sessionDestroyed, setApplicationKey, setWicketFilter, unmount |
| Methods inherited from class org.apache.wicket.Application |
|---|
addComponentInstantiationListener, addComponentOnAfterRenderListener, addComponentOnBeforeRenderListener, addRenderHeadListener, configure, destroy, exists, get, get, getApplicationKeys, getApplicationSettings, getConverterLocator, getDebugSettings, getExceptionSettings, getFrameworkSettings, getHomePage, getMarkupCache, getMarkupSettings, getMetaData, getName, getPageSettings, getRequestCycleFactory, getRequestCycleSettings, getRequestLogger, getRequestLoggerSettings, getResourceSettings, getSecuritySettings, getSessionFactory, getSessionSettings, getSessionStore, getSharedResources, initializeComponents, newRequestCycle, newRequestLogger, notifyRenderHeadListener, onDestroy, removeComponentInstantiationListener, removeComponentOnAfterRenderListener, removeComponentOnBeforeRenderListener, removeRenderHeadListener, set, setMetaData, unset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataApplicationBase()
| Method Detail |
|---|
protected void internalInit()
internalInit in class org.apache.wicket.protocol.http.WebApplicationprotected abstract void dataInit()
protected org.apache.wicket.IConverterLocator newConverterLocator()
newConverterLocator in class org.apache.wicket.Applicationprotected org.apache.wicket.protocol.http.WebResponse newWebResponse(javax.servlet.http.HttpServletResponse servletResponse)
isCookielessSupported() returns false, this method returns
a custom WebResponse that disables URL rewriting.
newWebResponse in class org.apache.wicket.protocol.http.WebApplication
public org.apache.wicket.RequestCycle newRequestCycle(org.apache.wicket.Request request,
org.apache.wicket.Response response)
newRequestCycle in class org.apache.wicket.protocol.http.WebApplicationpublic boolean isCookielessSupported()
protected void setCookielessSupported(boolean cookielessSupported)
The Application's "page expired" error page will be set to PageExpiredCookieless if cookielessSupported is false, unless an alternate error page has already been specified. This page will appear when cookieless users try to follow a link or form-submit that requires a session, informing them that cookies are required.
cookielessSupported - true if cookieless use is supported through
URL rewritingPageExpiredCookielessprotected boolean isDevelopment()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||