|
||||||||||
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.examples.WicketExampleApplication org.apache.wicket.examples.signin2.SignIn2Application
public final class SignIn2Application
Forms example.
Field Summary |
---|
Fields inherited from class org.apache.wicket.Application |
---|
CONFIGURATION, CONTEXTPATH, DEPLOYMENT, DEVELOPMENT |
Constructor Summary | |
---|---|
SignIn2Application()
Constructor. |
Method Summary | |
---|---|
java.lang.Class |
getHomePage()
Application subclasses must specify a home page class by implementing this abstract method. |
protected void |
init()
Initialize; if you need the wicket servlet for initialization, e.g. |
protected IRequestCycleProcessor |
newRequestCycleProcessor()
Gets a new request cycle processor for web requests. |
Session |
newSession(Request request,
Response response)
Creates a new session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SignIn2Application()
Method Detail |
---|
public java.lang.Class getHomePage()
Application
getHomePage
in class Application
Application.getHomePage()
public Session newSession(Request request, Response response)
Application
newSession
in class WebApplication
request
- The request that will create this session.response
- The response to initialize, for example with cookies. This is important to use
cases involving unit testing because those use cases might want to be able to sign
a user in automatically when the session is created.
WebApplication.newSession(org.apache.wicket.Request,
Response)
protected void init()
WebApplication
init
in class WicketExampleApplication
WicketExampleApplication.init()
protected IRequestCycleProcessor newRequestCycleProcessor()
WebApplication
newRequestCycleProcessor
in class WebApplication
WebApplication.newRequestCycleProcessor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |