public class SpringCachableHttpServletRequest extends org.springframework.web.util.ContentCachingRequestWrapper implements CachableHttpServletRequest
Constructor and Description |
---|
SpringCachableHttpServletRequest(javax.servlet.http.HttpServletRequest request)
Create a new SpringCachableHttpServletRequest for the given servlet request.
|
SpringCachableHttpServletRequest(javax.servlet.http.HttpServletRequest request,
int contentCacheLimit)
Create a new SpringCachableHttpServletRequest for the given servlet request.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getCachedContent()
Method to returned cached content of the stream data in order
to calculate payment data.
|
getCharacterEncoding, getContentAsByteArray, getInputStream, getParameter, getParameterMap, getParameterNames, getParameterValues, getReader, handleContentOverflow
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgrade
getAsyncContext, getAttribute, getAttributeNames, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgrade
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, 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
public SpringCachableHttpServletRequest(javax.servlet.http.HttpServletRequest request)
request
- the original servlet requestpublic SpringCachableHttpServletRequest(javax.servlet.http.HttpServletRequest request, int contentCacheLimit)
request
- the original servlet requestcontentCacheLimit
- the maximum number of bytes to cache per requestContentCachingRequestWrapper.handleContentOverflow(int)
public byte[] getCachedContent()
getCachedContent
in interface CachableHttpServletRequest