public class ServletUpgradeRequest extends UpgradeRequest
UpgradeRequest
implementation.Constructor and Description |
---|
ServletUpgradeRequest(HttpServletRequest httpRequest) |
addExtensions, addExtensions, clearHeaders, getCookies, getExtensions, getHeader, getHeaderInt, getHeaders, getHeaders, getHost, getHttpVersion, getMethod, getOrigin, getParameterMap, getProtocolVersion, getQueryString, getRequestURI, getSubProtocols, hasSubProtocol, isOrigin, isSecure, setCookies, setExtensions, setHeader, setHeader, setHeaders, setHttpVersion, setMethod, setParameterMap, setRequestURI, setSession, setSubProtocols, setSubProtocols
public ServletUpgradeRequest(HttpServletRequest httpRequest) throws URISyntaxException
URISyntaxException
public X509Certificate[] getCertificates()
public HttpServletRequest getHttpServletRequest()
public String getLocalAddress()
ServletRequest.getLocalAddr()
public String getLocalHostName()
ServletRequest.getLocalName()
public int getLocalPort()
ServletRequest.getLocalPort()
public InetSocketAddress getLocalSocketAddress()
InetSocketAddress
for the local socket.
Warning: this can cause a DNS lookuppublic Locale getLocale()
ServletRequest.getLocale()
Locale
for the clientpublic Enumeration<Locale> getLocales()
ServletRequest.getLocales()
@Deprecated public Principal getPrincipal()
getUserPrincipal()
insteadpublic Principal getUserPrincipal()
HttpServletRequest.getUserPrincipal()
getUserPrincipal
in class UpgradeRequest
public String getRemoteAddress()
ServletRequest.getRemoteAddr()
public String getRemoteHostName()
ServletRequest.getRemoteHost()
public int getRemotePort()
ServletRequest.getRemotePort()
public InetSocketAddress getRemoteSocketAddress()
InetSocketAddress
for the remote socket.
Warning: this can cause a DNS lookuppublic HttpSession getSession()
HttpServletRequest.getSession(boolean)
and will not create a new HttpSession.getSession
in class UpgradeRequest
public boolean isUserInRole(String role)
public String getRequestPath()
public void complete()
Copyright © 1995-2015 Webtide. All Rights Reserved.