|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.Application org.apache.wicket.protocol.http.WebApplication org.apache.wicket.util.tester.WicketTester.DummyWebApplication
public static class WicketTester.DummyWebApplication
Default dummy web application for testing. Uses HttpSessionStore
to store pages and
the Session
.
Field Summary |
---|
Fields inherited from class org.apache.wicket.Application |
---|
CONFIGURATION, CONTEXTPATH, DEPLOYMENT, DEVELOPMENT |
Constructor Summary | |
---|---|
WicketTester.DummyWebApplication()
|
Method Summary | |
---|---|
java.lang.Class |
getHomePage()
Application subclasses must specify a home page class by implementing this abstract method. |
protected ISessionStore |
newSessionStore()
Creates a new session facade. |
protected WebResponse |
newWebResponse(javax.servlet.http.HttpServletResponse servletResponse)
Create a WebResponse. |
protected void |
outputDevelopmentModeWarning()
This method prints a warning to stderr that we are starting in development mode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WicketTester.DummyWebApplication()
Method Detail |
---|
public java.lang.Class getHomePage()
Application
getHomePage
in class Application
Application.getHomePage()
protected ISessionStore newSessionStore()
Application
newSessionStore
in class WebApplication
Application.newSessionStore()
protected WebResponse newWebResponse(javax.servlet.http.HttpServletResponse servletResponse)
WebApplication
newWebResponse
in class WebApplication
WebApplication.newWebResponse(javax.servlet.http.HttpServletResponse)
protected void outputDevelopmentModeWarning()
WebApplication
If you really need to test Wicket in development mode on a staging server somewhere and are annoying the sysadmin for it with stderr messages, you can override this to make it do something else.
outputDevelopmentModeWarning
in class WebApplication
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |