public class WebSocketRequest extends ServletWebRequest
WebRequest implementation used for the lifecycle of a web socket
connection. It keeps a copy of the HttpServletRequest provided by the web container
during the creation of the web socket connection (the http upgrade).HEADER_AJAX, HEADER_AJAX_BASE_URL, HEADER_ORIGIN, HEADER_REFERER, PARAM_AJAX, PARAM_AJAX_BASE_URL, PARAM_AJAX_REQUEST_ANTI_CACHE| Constructor and Description |
|---|
WebSocketRequest(javax.servlet.http.HttpServletRequest req,
String filterPrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAjax() |
cloneWithUrl, generatePostParameters, getCharset, getClientUrl, getContainerRequest, getContextPath, getCookies, getDateHeader, getFilterPath, getFilterPrefix, getHeader, getHeaders, getLocale, getPostParameters, getPrefixToContextPath, getUrl, newMultipartWebRequest, newMultipartWebRequest, shouldPreserveClientUrlgetCookie, getIfModifiedSinceHeadergetOriginalUrl, getQueryParameters, getRequestParameterspublic WebSocketRequest(javax.servlet.http.HttpServletRequest req,
String filterPrefix)
req - the copy of the HttpServletRequest used for the upgrade of the HTTP protocolpublic boolean isAjax()
isAjax in class org.apache.wicket.request.http.WebRequestCopyright © 2006–2018 Apache Software Foundation. All rights reserved.