public final class WicketUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WicketUtils.UrlRequest |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteCookie(String name) |
static Class<? extends org.apache.wicket.Page> |
getBookmarkablePage(org.apache.wicket.RequestCycle cycle) |
static Class<? extends org.apache.wicket.Page> |
getBookmarkablePage(URL url) |
static org.apache.wicket.markup.html.link.AbstractLink |
getBookmarkableRefererLink(String id,
org.apache.wicket.model.IModel<String> labelModel) |
static org.apache.wicket.request.target.component.IBookmarkablePageRequestTarget |
getBookmarkableRequestTarget(URL url) |
static org.apache.wicket.protocol.http.request.WebClientInfo |
getClientInfo() |
static String |
getClientInfoString() |
static javax.servlet.http.Cookie |
getCookie(String name) |
static String |
getHeader(String name) |
static String |
getHost() |
static javax.servlet.http.HttpServletRequest |
getHttpServletRequest() |
static javax.servlet.http.HttpServletResponse |
getHttpServletResponse() |
static javax.servlet.http.HttpSession |
getHttpSession() |
static String |
getReferer() |
static String |
getRemoteAddr() |
static org.apache.wicket.Request |
getRequest() |
static String |
getRequestContextPath() |
static String |
getRequested() |
static String |
getRequestParameter(String name) |
static org.apache.wicket.IRequestTarget |
getRequestTarget(URL url) |
static org.apache.wicket.Response |
getResponse() |
static String |
getUserAgent() |
static org.apache.wicket.protocol.http.WebRequest |
getWebRequest() |
static org.apache.wicket.protocol.http.WebRequestCycle |
getWebRequestCycle() |
static org.apache.wicket.protocol.http.WebResponse |
getWebResponse() |
static boolean |
isAjax() |
static boolean |
isBookmarkableRequest(URL url) |
static boolean |
isCookiesDisabled() |
static boolean |
isDeployment() |
static boolean |
isHttps() |
static void |
performPermanentRedirect(String targetURL) |
static void |
performRedirect(Class<? extends org.apache.wicket.Page> pageClass,
org.apache.wicket.PageParameters parameters,
int statusCode) |
static void |
performRedirect(String targetURL,
int statusCode) |
static void |
performTemporaryRedirect(String targetURL) |
static String |
toAbsolutePath(Class<? extends org.apache.wicket.Page> pageClass) |
static String |
toAbsolutePath(Class<? extends org.apache.wicket.Page> pageClass,
org.apache.wicket.PageParameters parameters) |
static URL |
toUrl(Class<? extends org.apache.wicket.Page> pageClass) |
static URL |
toUrl(Class<? extends org.apache.wicket.Page> pageClass,
org.apache.wicket.PageParameters params) |
public static Class<? extends org.apache.wicket.Page> getBookmarkablePage(org.apache.wicket.RequestCycle cycle)
public static boolean isBookmarkableRequest(URL url)
public static Class<? extends org.apache.wicket.Page> getBookmarkablePage(URL url)
public static org.apache.wicket.request.target.component.IBookmarkablePageRequestTarget getBookmarkableRequestTarget(URL url)
public static org.apache.wicket.IRequestTarget getRequestTarget(URL url)
public static org.apache.wicket.markup.html.link.AbstractLink getBookmarkableRefererLink(String id, org.apache.wicket.model.IModel<String> labelModel)
public static String getReferer()
public static String getRequested()
public static javax.servlet.http.HttpServletRequest getHttpServletRequest()
public static javax.servlet.http.HttpServletResponse getHttpServletResponse()
public static javax.servlet.http.HttpSession getHttpSession()
public static String getRemoteAddr()
public static org.apache.wicket.Request getRequest()
public static org.apache.wicket.protocol.http.WebRequest getWebRequest()
public static org.apache.wicket.protocol.http.WebRequestCycle getWebRequestCycle()
public static org.apache.wicket.Response getResponse()
public static org.apache.wicket.protocol.http.WebResponse getWebResponse()
public static boolean isHttps()
public static javax.servlet.http.Cookie getCookie(String name)
public static void deleteCookie(String name)
public static org.apache.wicket.protocol.http.request.WebClientInfo getClientInfo()
public static String getUserAgent()
public static boolean isCookiesDisabled()
public static String getClientInfoString()
public static String getRequestContextPath()
public static String getHost()
public static String toAbsolutePath(Class<? extends org.apache.wicket.Page> pageClass)
public static String toAbsolutePath(Class<? extends org.apache.wicket.Page> pageClass, org.apache.wicket.PageParameters parameters)
public static void performTemporaryRedirect(String targetURL)
public static void performPermanentRedirect(String targetURL)
public static void performRedirect(String targetURL, int statusCode)
public static void performRedirect(Class<? extends org.apache.wicket.Page> pageClass, org.apache.wicket.PageParameters parameters, int statusCode)
public static URL toUrl(Class<? extends org.apache.wicket.Page> pageClass, org.apache.wicket.PageParameters params)
public static boolean isAjax()
true if header "Wicket-Ajax" is setServletWebRequest.isAjax()public static boolean isDeployment()
Copyright © 2014 Molindo GmbH. All Rights Reserved.