com.carbonfive.flashgateway.security
Class BufferedHttpRequestWrapper

java.lang.Object
  extended byjavax.servlet.ServletRequestWrapper
      extended byjavax.servlet.http.HttpServletRequestWrapper
          extended bycom.carbonfive.flashgateway.security.BufferedHttpRequestWrapper
All Implemented Interfaces:
javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest

public class BufferedHttpRequestWrapper
extends javax.servlet.http.HttpServletRequestWrapper

BufferedHttpRequestWrapper is an implementation of a HttpServletRequestWrapper that returns a buffered InputStream from getInputStream() and adds a method getBufferedInputStream() that returns the same InputStream.


Field Summary
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
BufferedHttpRequestWrapper(javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 BufferedServletInputStream getBufferedInputStream()
           
 javax.servlet.ServletInputStream getInputStream()
           
 
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, setRequest
 
Methods inherited from class javax.servlet.ServletRequestWrapper
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.ServletRequest
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
 

Constructor Detail

BufferedHttpRequestWrapper

public BufferedHttpRequestWrapper(javax.servlet.http.HttpServletRequest request)
Method Detail

getInputStream

public javax.servlet.ServletInputStream getInputStream()
                                                throws java.io.IOException
Throws:
java.io.IOException

getBufferedInputStream

public BufferedServletInputStream getBufferedInputStream()
                                                  throws java.io.IOException
Throws:
java.io.IOException