public class ProxyHttpServletRequest
extends javax.servlet.http.HttpServletRequestWrapper
| Constructor and Description |
|---|
ProxyHttpServletRequest(javax.servlet.http.HttpServletRequest request,
String cookieProxyFilter)
Constructs a request object wrapping the given request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCookie(javax.servlet.http.Cookie cookie) |
int |
getContentLength() |
javax.servlet.http.Cookie[] |
getCookies() |
Enumeration |
getHeaderNames() |
Enumeration |
getHeaders(String name) |
javax.servlet.ServletInputStream |
getInputStream() |
getAuthType, getContextPath, getDateHeader, getHeader, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRolegetAttribute, getAttributeNames, getCharacterEncoding, getContentType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribute, getAttributeNames, getCharacterEncoding, getContentType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncodingpublic ProxyHttpServletRequest(javax.servlet.http.HttpServletRequest request,
String cookieProxyFilter)
throws IOException
request - IllegalArgumentException - if the request is nullIOExceptionpublic int getContentLength()
getContentLength in interface javax.servlet.ServletRequestgetContentLength in class javax.servlet.ServletRequestWrapperpublic javax.servlet.http.Cookie[] getCookies()
getCookies in interface javax.servlet.http.HttpServletRequestgetCookies in class javax.servlet.http.HttpServletRequestWrapperpublic javax.servlet.ServletInputStream getInputStream()
throws IOException
getInputStream in interface javax.servlet.ServletRequestgetInputStream in class javax.servlet.ServletRequestWrapperIOExceptionpublic Enumeration getHeaderNames()
getHeaderNames in interface javax.servlet.http.HttpServletRequestgetHeaderNames in class javax.servlet.http.HttpServletRequestWrapperpublic Enumeration getHeaders(String name)
getHeaders in interface javax.servlet.http.HttpServletRequestgetHeaders in class javax.servlet.http.HttpServletRequestWrapperpublic void addCookie(javax.servlet.http.Cookie cookie)
Copyright © 2017. All Rights Reserved.