Class UnmodifiableCopyServletRequest

java.lang.Object
com.aoapps.servlet.subrequest.UnmodifiableCopyServletRequest
All Implemented Interfaces:
ServletRequest
Direct Known Subclasses:
UnmodifiableCopyHttpServletRequest

public class UnmodifiableCopyServletRequest extends Object implements ServletRequest
Achieves thread safety by making copies of most fields during constructor and being unmodifiable. This forms a base point for subrequests to diverge from.

Some methods have to read-through to the wrapped request, so it should not change state while this wrapper is in use. Synchronizes access to the wrapped request.