List of usage examples for org.apache.wicket Page getRequest
public final Request getRequest()
From source file:de.alpharogroup.wicket.base.util.url.WicketUrlExtensions.java
License:Apache License
/** * Gets the context path from the given WebPage. * /*from ww w . j a v a2 s . c om*/ * @param page * the page * @return the context path */ public static String getContextPath(final Page page) { return page.getRequest().getContextPath(); }
From source file:org.devgateway.eudevfin.ui.common.spring.WicketSpringApplication.java
License:Open Source License
@Override protected void onUnauthorizedPage(final Page page) { logger.warn("Unauthorized page requested:" + page.getRequest().getUrl().toString()); throw new RestartResponseException(getSignInPageClass()); }