Class

net.liftweb.http.provider.servlet

HTTPRequestServlet

Related Doc: package servlet

Permalink

class HTTPRequestServlet extends HTTPRequest

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HTTPRequestServlet
  2. HTTPRequest
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HTTPRequestServlet(req: HttpServletRequest, provider: HTTPProvider)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. lazy val authType: Box[String]

    Permalink

    returns

    - HTTP authentication scheme: BASIC, DIGEST etc. Empty if there is auth header.

    Definition Classes
    HTTPRequestServletHTTPRequest
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def contentType: Box[String]

    Permalink

    returns

    - the MIME type of the body of the request. Empty if this is unknonwn.

    Definition Classes
    HTTPRequestServletHTTPRequest
  8. def context: HTTPContext

    Permalink

    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
    HTTPRequestServletHTTPRequest
  9. def contextPath: String

    Permalink

    returns

    - the context path. Similar with HttpServletRequest.getContextPath. Return "" empty string if your implementation does not support the contept of context path

    Definition Classes
    HTTPRequestServletHTTPRequest
  10. lazy val cookies: List[HTTPCookie]

    Permalink

    returns

    - cookies from this request. Nil if there are no cookies.

    Definition Classes
    HTTPRequestServletHTTPRequest
  11. def destroyServletSession(): Unit

    Permalink

    Destroy the underlying servlet session

    Destroy the underlying servlet session

    Definition Classes
    HTTPRequestServletHTTPRequest
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def extractFiles: List[ParamHolder]

    Permalink

    returns

    - the files uploaded

    Definition Classes
    HTTPRequestServletHTTPRequest
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def header(name: String): Box[String]

    Permalink

    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
  19. def headers(name: String): List[String]

    Permalink

    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
    HTTPRequestServletHTTPRequest
  20. lazy val headers: List[HTTPParam]

    Permalink

    returns

    - all header parameters present in this request. Nil if no headers are used.

    Definition Classes
    HTTPRequestServletHTTPRequest
  21. def inputStream: InputStream

    Permalink

    returns

    - the input stream for the request body

    Definition Classes
    HTTPRequestServletHTTPRequest
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def locale: Box[Locale]

    Permalink

    returns

    - the locale forthis request. Empty if there is not language information.

    Definition Classes
    HTTPRequestServletHTTPRequest
  24. def method: String

    Permalink

    returns

    - the HTTP method: GET, POST etc.

    Definition Classes
    HTTPRequestServletHTTPRequest
  25. def multipartContent_?: Boolean

    Permalink

    returns

    true - if the request content is multipart

    Definition Classes
    HTTPRequestServletHTTPRequest
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def param(name: String): List[String]

    Permalink

    name

    - the parameter name

    returns

    - the list of values associated with this name

    Definition Classes
    HTTPRequestServletHTTPRequest
  30. lazy val paramNames: List[String]

    Permalink

    returns

    - request parameter names

    Definition Classes
    HTTPRequestServletHTTPRequest
  31. lazy val params: List[HTTPParam]

    Permalink

    returns

    - all request parameters

    Definition Classes
    HTTPRequestServletHTTPRequest
  32. val provider: HTTPProvider

    Permalink

    The provider associated with this request

    The provider associated with this request

    Definition Classes
    HTTPRequestServletHTTPRequest
  33. lazy val queryString: Box[String]

    Permalink

    returns

    - the entire query string. Empty if the requst contains no query string

    Definition Classes
    HTTPRequestServletHTTPRequest
  34. def remoteAddress: String

    Permalink

    returns

    - the remote address of the client or the last seen proxy.

    Definition Classes
    HTTPRequestServletHTTPRequest
  35. def remoteHost: String

    Permalink

    returns

    - the fully qualified name of the client host or last seen proxy

    Definition Classes
    HTTPRequestServletHTTPRequest
  36. def remotePort: Int

    Permalink

    returns

    - the source port of the client or last seen proxy.

    Definition Classes
    HTTPRequestServletHTTPRequest
  37. val req: HttpServletRequest

    Permalink
  38. def resume(what: (Req, LiftResponse)): Boolean

    Permalink

    Resume this request

    Resume this request

    returns

    false if this continuation cannot be resumed as it is not in pending state.

    Definition Classes
    HTTPRequestServletHTTPRequest
  39. def resumeInfo: Option[(Req, LiftResponse)]

    Permalink

    returns

    - Some[Any] if this is a resumed request, return the state associated with it.

    Definition Classes
    HTTPRequestServletHTTPRequest
  40. def scheme: String

    Permalink

    returns

    - the name of the scheme of this request: http, https etc.

    Definition Classes
    HTTPRequestServletHTTPRequest
  41. def serverName: String

    Permalink

    returns

    - the host name of the server

    Definition Classes
    HTTPRequestServletHTTPRequest
  42. def serverPort: Int

    Permalink

    returns

    - the server port

    Definition Classes
    HTTPRequestServletHTTPRequest
  43. def session: HTTPServletSession

    Permalink

    returns

    - the HTTP session associated with this request

    Definition Classes
    HTTPRequestServletHTTPRequest
  44. def sessionId: Box[String]

    Permalink

    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
    HTTPRequestServletHTTPRequest
  45. def setCharacterEncoding(encoding: String): Unit

    Permalink

    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
    HTTPRequestServletHTTPRequest
  46. def snapshot: HTTPRequest

    Permalink

    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
    HTTPRequestServletHTTPRequest
  47. def suspend(timeout: Long): RetryState.Value

    Permalink

    Suspend the curent request and resume it after a given timeout

    Suspend the curent request and resume it after a given timeout

    Definition Classes
    HTTPRequestServletHTTPRequest
  48. lazy val suspendResumeSupport_?: Boolean

    Permalink

    returns

    true if the underlying container supports suspend/resume idiom.

    Definition Classes
    HTTPRequestServletHTTPRequest
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  50. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  51. def uri: String

    Permalink

    returns

    - the request URI

    Definition Classes
    HTTPRequestServletHTTPRequest
  52. def url: String

    Permalink

    returns

    - the request URL

    Definition Classes
    HTTPRequestServletHTTPRequest
  53. lazy val userAgent: Box[String]

    Permalink

    The User-Agent of the request

    The User-Agent of the request

    Definition Classes
    HTTPRequestServletHTTPRequest
  54. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HTTPRequest

Inherited from AnyRef

Inherited from Any

Ungrouped