This project has retired. For details please refer to its
        
        Attic page .
      
 
 
ProtectionRequestWrapper (Apache Chemistry OpenCMIS 0.10.0 API) 
 
 
JavaScript is disabled on your browser.
 
java.lang.Object  
javax.servlet.ServletRequestWrapper 
javax.servlet.http.HttpServletRequestWrapper 
org.apache.chemistry.opencmis.server.impl.webservices.ProtectionRequestWrapper 
 
 
 
 
 
 
 
All Implemented Interfaces: 
javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest 
 
 
 
public class ProtectionRequestWrapper 
extends javax.servlet.http.HttpServletRequestWrapper 
This request wrapper checks if the request is a multipart request (required
 by MTOM) and checks if the first part is not bigger than the provide max
 size. This protects the Web Services endpoint from oversized XML attacks.
 
 
 
 
Field Summary 
 
Fields inherited from interface javax.servlet.http.HttpServletRequest 
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH 
 
 
 
 
Constructor Summary 
Constructors    
Constructor and Description 
 
ProtectionRequestWrapper  (javax.servlet.http.HttpServletRequest request,
                        int max)  
 
 
 
 
Method Summary 
Methods    
Modifier and Type 
Method and Description 
 
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 
 
 
Methods inherited from class javax.servlet.ServletRequestWrapper 
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, 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, setRequest 
 
 
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 
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding 
 
 
 
 
 
 
 
Copyright © 2009-2013 The Apache Software Foundation . All Rights Reserved.