public class PageClassAndParameters extends Object
Wicket should have been shipped with a class like this. Passing two parameters to methods like "setResponsePage" is inelegant; and returning two parameters from a method is impossible.
Modifier and Type | Field and Description |
---|---|
Class<? extends org.apache.wicket.Page> |
page |
org.apache.wicket.request.mapper.parameter.PageParameters |
params |
Constructor and Description |
---|
PageClassAndParameters(Class<? extends org.apache.wicket.Page> c,
org.apache.wicket.request.mapper.parameter.PageParameters p) |
Modifier and Type | Method and Description |
---|---|
void |
throwRestartResponseException() |
public final Class<? extends org.apache.wicket.Page> page
public final org.apache.wicket.request.mapper.parameter.PageParameters params
public PageClassAndParameters(Class<? extends org.apache.wicket.Page> c, org.apache.wicket.request.mapper.parameter.PageParameters p)