HttpServletRequestReadOnly
org.scalatra.servlet.HttpServletRequestReadOnly
case class HttpServletRequestReadOnly(originalRequest: HttpServletRequest) extends HttpServletRequestWrapper
Read-only immutable wrapper for an HttpServletRequest that can, for the most part, be passed around to different threads.
This is necessary because ServletContainers will "recycle" a request once the original HTTP thread is returned, meaning that a lot of attributes are set to null (in the case of Jetty).
Limitations of this class include the following:
- it is mostly immutable (methods on the original request are not given stable values, nor are methods that return non-primitive types)
- changes made to the original object or this object may not be reflected across threads
Value parameters
- originalRequest
-
the original HttpServletRequest to wrap
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass HttpServletRequestWrappertrait HttpServletRequestclass ServletRequestWrappertrait ServletRequestclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- ServletRequestWrapper
Attributes
- Inherited from:
- HttpServletRequestWrapper
Deprecated and Inherited methods
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- ServletRequestWrapper
Concrete fields
In this article