* </p>
* @return true if the request wrapper stack (size) changed.
*/
protected boolean isRequestWrapperStackChanged()
{
HttpServletRequestWrapper currentRequest = this;
int currentRequestWrapperStackSize = 0;
while ((currentRequest.getRequest()) instanceof HttpServletRequestWrapper)
{
currentRequestWrapperStackSize++;
currentRequest = (HttpServletRequestWrapper)currentRequest.getRequest();
}
if (currentRequestWrapperStackSize != requestWrapperStackSize)
{
requestWrapperStackSize = currentRequestWrapperStackSize;
return true;