|
||||||||||
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.resourcedecoration.ResourceDecorationApplication
public class ResourceDecorationApplication
An application showing how to return several resources into a single http response.
The key is to register a custom IHeaderResponseDecorator
via
Application.setHeaderResponseDecorator(IHeaderResponseDecorator)
that will intercept all
resource contributions.
Field Summary |
---|
Fields inherited from class org.apache.wicket.Application |
---|
CONFIGURATION |
Constructor Summary | |
---|---|
ResourceDecorationApplication()
|
Method Summary | |
---|---|
static ResourceDecorationApplication |
get()
|
java.lang.Class<HomePage> |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceDecorationApplication()
Method Detail |
---|
protected void init()
WebApplication
init
in class WebApplication
public java.lang.Class<HomePage> getHomePage()
Application
getHomePage
in class Application
public static ResourceDecorationApplication get()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |