|
||||||||||
| 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.examples.authorization.RolesApplication
public class RolesApplication
Application object for this example.
| Field Summary | |
|---|---|
static java.util.List<User> |
USERS
User DB. |
| Fields inherited from class org.apache.wicket.Application |
|---|
CONFIGURATION |
| Constructor Summary | |
|---|---|
RolesApplication()
Construct. |
|
| Method Summary | |
|---|---|
java.lang.Class<? extends Page> |
getHomePage()
Application subclasses must specify a home page class by implementing this abstract method. |
protected void |
init()
Initialize; if you need the wicket servlet/filter for initialization, e.g. |
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 |
| Field Detail |
|---|
public static java.util.List<User> USERS
| Constructor Detail |
|---|
public RolesApplication()
| Method Detail |
|---|
public java.lang.Class<? extends Page> getHomePage()
Application
getHomePage in class ApplicationApplication.getHomePage()
public Session newSession(Request request,
Response response)
Application
newSession in class WebApplicationrequest - 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.Request,
org.apache.wicket.request.Response)protected void init()
WebApplication
init in class WebApplication
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||