case class HttpServletRequestReadOnly(originalRequest: HttpServletRequest) extends HttpServletRequestWrapper with Product with Serializable
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
- originalRequest
the original HttpServletRequest to wrap
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpServletRequestReadOnly
- Serializable
- Product
- Equals
- HttpServletRequestWrapper
- HttpServletRequest
- ServletRequestWrapper
- ServletRequest
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new HttpServletRequestReadOnly(originalRequest: HttpServletRequest)
- originalRequest
the original HttpServletRequest to wrap
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def authenticate(arg0: HttpServletResponse): Boolean
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[javax.servlet.ServletException])
- def changeSessionId(): String
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getAsyncContext(): AsyncContext
- Definition Classes
- ServletRequestWrapper → ServletRequest
- def getAttribute(arg0: String): AnyRef
- Definition Classes
- ServletRequestWrapper → ServletRequest
- def getAttributeNames(): Enumeration[String]
- Definition Classes
- ServletRequestWrapper → ServletRequest
- val getAuthType: String
- Definition Classes
- HttpServletRequestReadOnly → HttpServletRequestWrapper → HttpServletRequest
- val getCharacterEncoding: String
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val getContentLength: Int
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- val getContentLengthLong: Long
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- val getContentType: String
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- val getContextPath: String
- Definition Classes
- HttpServletRequestReadOnly → HttpServletRequestWrapper → HttpServletRequest
- def getCookies(): Array[javax.servlet.http.Cookie]
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- def getDateHeader(arg0: String): Long
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- def getDispatcherType(): DispatcherType
- Definition Classes
- ServletRequestWrapper → ServletRequest
- def getHeader(arg0: String): String
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- def getHeaderNames(): Enumeration[String]
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- def getHeaders(arg0: String): Enumeration[String]
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- def getHttpServletMapping(): HttpServletMapping
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- def getInputStream(): ServletInputStream
- Definition Classes
- ServletRequestWrapper → ServletRequest
- Annotations
- @throws(classOf[java.io.IOException])
- def getIntHeader(arg0: String): Int
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- val getLocalAddr: String
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- val getLocalName: String
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- val getLocalPort: Int
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- def getLocale(): Locale
- Definition Classes
- ServletRequestWrapper → ServletRequest
- def getLocales(): Enumeration[Locale]
- Definition Classes
- ServletRequestWrapper → ServletRequest
- val getMethod: String
- Definition Classes
- HttpServletRequestReadOnly → HttpServletRequestWrapper → HttpServletRequest
- def getParameter(arg0: String): String
- Definition Classes
- ServletRequestWrapper → ServletRequest
- def getParameterMap(): Map[String, Array[String]]
- Definition Classes
- ServletRequestWrapper → ServletRequest
- def getParameterNames(): Enumeration[String]
- Definition Classes
- ServletRequestWrapper → ServletRequest
- def getParameterValues(arg0: String): Array[String]
- Definition Classes
- ServletRequestWrapper → ServletRequest
- def getPart(arg0: String): Part
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[javax.servlet.ServletException])
- def getParts(): Collection[Part]
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[javax.servlet.ServletException])
- val getPathInfo: String
- Definition Classes
- HttpServletRequestReadOnly → HttpServletRequestWrapper → HttpServletRequest
- val getPathTranslated: String
- Definition Classes
- HttpServletRequestReadOnly → HttpServletRequestWrapper → HttpServletRequest
- val getProtocol: String
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- val getQueryString: String
- Definition Classes
- HttpServletRequestReadOnly → HttpServletRequestWrapper → HttpServletRequest
- def getReader(): BufferedReader
- Definition Classes
- ServletRequestWrapper → ServletRequest
- Annotations
- @throws(classOf[java.io.IOException])
- val getRemoteAddr: String
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- val getRemoteHost: String
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- val getRemotePort: Int
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- val getRemoteUser: String
- Definition Classes
- HttpServletRequestReadOnly → HttpServletRequestWrapper → HttpServletRequest
- def getRequest(): ServletRequest
- Definition Classes
- ServletRequestWrapper
- def getRequestDispatcher(arg0: String): RequestDispatcher
- Definition Classes
- ServletRequestWrapper → ServletRequest
- val getRequestURI: String
- Definition Classes
- HttpServletRequestReadOnly → HttpServletRequestWrapper → HttpServletRequest
- def getRequestURL(): StringBuffer
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- val getRequestedSessionId: String
- Definition Classes
- HttpServletRequestReadOnly → HttpServletRequestWrapper → HttpServletRequest
- val getScheme: String
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- val getServerName: String
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- val getServerPort: Int
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- def getServletContext(): ServletContext
- Definition Classes
- ServletRequestWrapper → ServletRequest
- val getServletPath: String
- Definition Classes
- HttpServletRequestReadOnly → HttpServletRequestWrapper → HttpServletRequest
- def getSession(): HttpSession
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- def getSession(arg0: Boolean): HttpSession
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- def getTrailerFields(): Map[String, String]
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- def getUserPrincipal(): Principal
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- val isAsyncStarted: Boolean
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- val isAsyncSupported: Boolean
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isRequestedSessionIdFromCookie: Boolean
- Definition Classes
- HttpServletRequestReadOnly → HttpServletRequestWrapper → HttpServletRequest
- val isRequestedSessionIdFromURL: Boolean
- Definition Classes
- HttpServletRequestReadOnly → HttpServletRequestWrapper → HttpServletRequest
- val isRequestedSessionIdFromUrl: Boolean
- Definition Classes
- HttpServletRequestReadOnly → HttpServletRequestWrapper → HttpServletRequest
- val isRequestedSessionIdValid: Boolean
- Definition Classes
- HttpServletRequestReadOnly → HttpServletRequestWrapper → HttpServletRequest
- val isSecure: Boolean
- Definition Classes
- HttpServletRequestReadOnly → ServletRequestWrapper → ServletRequest
- def isTrailerFieldsReady(): Boolean
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- def isUserInRole(arg0: String): Boolean
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- def isWrapperFor(arg0: Class[_ <: AnyRef]): Boolean
- Definition Classes
- ServletRequestWrapper
- def isWrapperFor(arg0: ServletRequest): Boolean
- Definition Classes
- ServletRequestWrapper
- def login(arg0: String, arg1: String): Unit
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- Annotations
- @throws(classOf[javax.servlet.ServletException])
- def logout(): Unit
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- Annotations
- @throws(classOf[javax.servlet.ServletException])
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newPushBuilder(): PushBuilder
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def removeAttribute(arg0: String): Unit
- Definition Classes
- ServletRequestWrapper → ServletRequest
- def setAttribute(arg0: String, arg1: AnyRef): Unit
- Definition Classes
- ServletRequestWrapper → ServletRequest
- def setCharacterEncoding(arg0: String): Unit
- Definition Classes
- ServletRequestWrapper → ServletRequest
- Annotations
- @throws(classOf[java.io.UnsupportedEncodingException])
- def setRequest(arg0: ServletRequest): Unit
- Definition Classes
- ServletRequestWrapper
- def startAsync(arg0: ServletRequest, arg1: ServletResponse): AsyncContext
- Definition Classes
- ServletRequestWrapper → ServletRequest
- Annotations
- @throws(classOf[java.lang.IllegalStateException])
- def startAsync(): AsyncContext
- Definition Classes
- ServletRequestWrapper → ServletRequest
- Annotations
- @throws(classOf[java.lang.IllegalStateException])
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def upgrade[T <: HttpUpgradeHandler](arg0: Class[T]): T
- Definition Classes
- HttpServletRequestWrapper → HttpServletRequest
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[javax.servlet.ServletException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()