Package com.aoapps.servlet.subrequest
package com.aoapps.servlet.subrequest
-
ClassDescriptionIndicates that a request is protected for use as a sub-request.Indicates that a response is protected for use as a sub-response.This does not implement
ServletRequestWrapper
and use of it is in violation of the specification. When used in conjunction with new threads (or threads from your own pool), Tomcat 7.0 and 8.5 do not notice you switched the request due to its use of ThreadLocal to enforce the spec.Wraps a servlet request with the intent to operate as a concurrent sub request.This does not implementServletResponseWrapper
and use of it is in violation of the specification. When used in conjunction with new threads (or threads from your own pool), Tomcat 7.0 and 8.5 do not notice you switched the response due to its use of ThreadLocal to enforce the spec.Wraps a servlet response with the intent to operate as a concurrent sub response.Synchronizes access to the wrapped request.Synchronizes access to the wrapped response.Synchronizes access to the wrapped part.Synchronizes access to the wrapped input stream.Synchronizes access to the wrapped output stream.Synchronizes access to the wrapped request.Synchronizes access to the wrapped response.Achieves thread safety by making copies of most fields during constructor and being unmodifiable.Achieves thread safety by making copies of most fields during constructor and being unmodifiable.