class HTTPRequestServlet extends HTTPRequest
- Alphabetic
- By Inheritance
- HTTPRequestServlet
- HTTPRequest
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new HTTPRequestServlet(req: HttpServletRequest, provider: HTTPProvider)
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
-
lazy val
authType: Box[String]
- returns
- HTTP authentication scheme: BASIC, DIGEST etc. Empty if there is auth header.
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
contentType: Box[String]
- returns
- the MIME type of the body of the request. Empty if this is unknonwn.
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
context: HTTPContext
- returns
- the HTTPContext of this service. It does not guarantee that it returns the same HTTPContext reference upon each invocation but it must guarantee that HTTPContext reference contains the same information.
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
contextPath: String
- returns
- the context path. Similar with HttpServletRequest.getContextPath. Return "" empty string if your implementation does not support the contept of context path
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
lazy val
cookies: List[HTTPCookie]
- returns
- cookies from this request. Nil if there are no cookies.
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
destroyServletSession(): Unit
Destroy the underlying servlet session
Destroy the underlying servlet session
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extractFiles: List[ParamHolder]
- returns
- the files uploaded
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
header(name: String): Box[String]
Return the header value by the given name
Return the header value by the given name
- name
- the header name
- returns
- the header value. Empty if there is no such header
- Definition Classes
- HTTPRequest
-
def
headers(name: String): List[String]
Return the header values by the given name.
Return the header values by the given name.
- name
- the header name
- returns
- List[String] or Nil if there is no such header
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
lazy val
headers: List[HTTPParam]
- returns
- all header parameters present in this request. Nil if no headers are used.
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
inputStream: InputStream
- returns
- the input stream for the request body
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
locale: Box[Locale]
- returns
- the locale forthis request. Empty if there is not language information.
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
method: String
- returns
- the HTTP method: GET, POST etc.
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
multipartContent_?: Boolean
- returns
true - if the request content is multipart
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
param(name: String): List[String]
- name
- the parameter name
- returns
- the list of values associated with this name
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
lazy val
paramNames: List[String]
- returns
- request parameter names
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
lazy val
params: List[HTTPParam]
- returns
- all request parameters
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
val
provider: HTTPProvider
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
lazy val
queryString: Box[String]
- returns
- the entire query string. Empty if the requst contains no query string
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
remoteAddress: String
- returns
- the remote address of the client or the last seen proxy.
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
remoteHost: String
- returns
- the fully qualified name of the client host or last seen proxy
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
remotePort: Int
- returns
- the source port of the client or last seen proxy.
- Definition Classes
- HTTPRequestServlet → HTTPRequest
- val req: HttpServletRequest
-
def
resume(what: (Req, LiftResponse)): Boolean
Resume this request
Resume this request
- returns
false if this continuation cannot be resumed as it is not in pending state.
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
resumeInfo: Option[(Req, LiftResponse)]
- returns
- Some[Any] if this is a resumed request, return the state associated with it.
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
scheme: String
- returns
- the name of the scheme of this request: http, https etc.
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
serverName: String
- returns
- the host name of the server
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
serverPort: Int
- returns
- the server port
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
session: HTTPServletSession
- returns
- the HTTP session associated with this request
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
sessionId: Box[String]
- returns
the sessionID (if there is one) for this request. This will *NOT* create a new session if one does not already exist
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
setCharacterEncoding(encoding: String): Unit
Sets the character encoding that will be used for request body read
Sets the character encoding that will be used for request body read
- encoding
- the encoding that will be used (e.g. UTF-8)
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
snapshot: HTTPRequest
Creates a new HTTPRequest instance as a copy of this one.
Creates a new HTTPRequest instance as a copy of this one. It is used when snapshots of the current request context is created in order for this request object to be used on different threads (such as asynchronous template fragments processing). The new instance must not keep any reference to the container' instances.
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
suspend(timeout: Long): RetryState.Value
Suspend the curent request and resume it after a given timeout
Suspend the curent request and resume it after a given timeout
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
lazy val
suspendResumeSupport_?: Boolean
- returns
true if the underlying container supports suspend/resume idiom.
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
uri: String
- returns
- the request URI
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
def
url: String
- returns
- the request URL
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
lazy val
userAgent: Box[String]
The User-Agent of the request
The User-Agent of the request
- Definition Classes
- HTTPRequestServlet → HTTPRequest
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )