org.eclipse.jetty.server
Class ServletRequestHttpWrapper
java.lang.Object
javax.servlet.ServletRequestWrapper
org.eclipse.jetty.server.ServletRequestHttpWrapper
- All Implemented Interfaces:
- HttpServletRequest, ServletRequest
public class ServletRequestHttpWrapper
- extends ServletRequestWrapper
- implements HttpServletRequest
Class to tunnel a ServletRequest via a HttpServletRequest
Methods inherited from class javax.servlet.ServletRequestWrapper |
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.ServletRequest |
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync |
ServletRequestHttpWrapper
public ServletRequestHttpWrapper(ServletRequest request)
getAuthType
public String getAuthType()
- Specified by:
getAuthType
in interface HttpServletRequest
getCookies
public Cookie[] getCookies()
- Specified by:
getCookies
in interface HttpServletRequest
getDateHeader
public long getDateHeader(String name)
- Specified by:
getDateHeader
in interface HttpServletRequest
getHeader
public String getHeader(String name)
- Specified by:
getHeader
in interface HttpServletRequest
getHeaders
public Enumeration getHeaders(String name)
- Specified by:
getHeaders
in interface HttpServletRequest
getHeaderNames
public Enumeration getHeaderNames()
- Specified by:
getHeaderNames
in interface HttpServletRequest
getIntHeader
public int getIntHeader(String name)
- Specified by:
getIntHeader
in interface HttpServletRequest
getMethod
public String getMethod()
- Specified by:
getMethod
in interface HttpServletRequest
getPathInfo
public String getPathInfo()
- Specified by:
getPathInfo
in interface HttpServletRequest
getPathTranslated
public String getPathTranslated()
- Specified by:
getPathTranslated
in interface HttpServletRequest
getContextPath
public String getContextPath()
- Specified by:
getContextPath
in interface HttpServletRequest
getQueryString
public String getQueryString()
- Specified by:
getQueryString
in interface HttpServletRequest
getRemoteUser
public String getRemoteUser()
- Specified by:
getRemoteUser
in interface HttpServletRequest
isUserInRole
public boolean isUserInRole(String role)
- Specified by:
isUserInRole
in interface HttpServletRequest
getUserPrincipal
public Principal getUserPrincipal()
- Specified by:
getUserPrincipal
in interface HttpServletRequest
getRequestedSessionId
public String getRequestedSessionId()
- Specified by:
getRequestedSessionId
in interface HttpServletRequest
getRequestURI
public String getRequestURI()
- Specified by:
getRequestURI
in interface HttpServletRequest
getRequestURL
public StringBuffer getRequestURL()
- Specified by:
getRequestURL
in interface HttpServletRequest
getServletPath
public String getServletPath()
- Specified by:
getServletPath
in interface HttpServletRequest
getSession
public HttpSession getSession(boolean create)
- Specified by:
getSession
in interface HttpServletRequest
getSession
public HttpSession getSession()
- Specified by:
getSession
in interface HttpServletRequest
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()
- Specified by:
isRequestedSessionIdValid
in interface HttpServletRequest
isRequestedSessionIdFromCookie
public boolean isRequestedSessionIdFromCookie()
- Specified by:
isRequestedSessionIdFromCookie
in interface HttpServletRequest
isRequestedSessionIdFromURL
public boolean isRequestedSessionIdFromURL()
- Specified by:
isRequestedSessionIdFromURL
in interface HttpServletRequest
isRequestedSessionIdFromUrl
public boolean isRequestedSessionIdFromUrl()
- Specified by:
isRequestedSessionIdFromUrl
in interface HttpServletRequest
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.