|
||||||||||
| 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
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<? extends Page> |
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<? extends Page> getHomePage()
Application
getHomePage in class ApplicationApplication.getHomePage()protected ISessionStore newSessionStore()
Application
newSessionStore in class WebApplicationApplication.newSessionStore()protected WebResponse newWebResponse(javax.servlet.http.HttpServletResponse servletResponse)
WebApplication
newWebResponse in class WebApplicationWebApplication.newWebResponse(javax.servlet.http.HttpServletResponse)protected void outputDevelopmentModeWarning()
WebApplicationIf 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 | |||||||||