net.liftweb.http.provider.servlet

HTTPRequestServlet

class HTTPRequestServlet extends HTTPRequest

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

Instance Constructors

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

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

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

    Definition Classes
    HTTPRequestServletHTTPRequest
  8. def clone(): AnyRef

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

    returns

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

    Definition Classes
    HTTPRequestServletHTTPRequest
  10. 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
    HTTPRequestServletHTTPRequest
  11. 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
    HTTPRequestServletHTTPRequest
  12. lazy val cookies: List[HTTPCookie]

    Definition Classes
    HTTPRequestServletHTTPRequest
  13. def destroyServletSession(): Unit

    Destroy the underlying servlet session

    Destroy the underlying servlet session

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

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

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

    returns

    - the files uploaded

    Definition Classes
    HTTPRequestServletHTTPRequest
  17. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  20. 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
  21. 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
    HTTPRequestServletHTTPRequest
  22. lazy val headers: List[HTTPParam]

    Definition Classes
    HTTPRequestServletHTTPRequest
  23. def inputStream: InputStream

    returns

    - the input stream for the request body

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

    Definition Classes
    Any
  25. def locale: Box[Locale]

    returns

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

    Definition Classes
    HTTPRequestServletHTTPRequest
  26. def method: String

    returns

    - the HTTP method: GET, POST etc.

    Definition Classes
    HTTPRequestServletHTTPRequest
  27. def multipartContent_?: Boolean

    returns

    true - if the request content is multipart

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

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

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

    name

    - the parameter name

    returns

    - the list of values associated with this name

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

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

    Definition Classes
    HTTPRequestServletHTTPRequest
  34. val provider: HTTPProvider

    The provider associated with this request

    The provider associated with this request

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

    Definition Classes
    HTTPRequestServletHTTPRequest
  36. def remoteAddress: String

    returns

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

    Definition Classes
    HTTPRequestServletHTTPRequest
  37. def remoteHost: String

    returns

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

    Definition Classes
    HTTPRequestServletHTTPRequest
  38. def remotePort: Int

    returns

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

    Definition Classes
    HTTPRequestServletHTTPRequest
  39. val req: HttpServletRequest

  40. 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
    HTTPRequestServletHTTPRequest
  41. def resumeInfo: Option[(Req, LiftResponse)]

    returns

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

    Definition Classes
    HTTPRequestServletHTTPRequest
  42. def scheme: String

    returns

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

    Definition Classes
    HTTPRequestServletHTTPRequest
  43. def serverName: String

    returns

    - the host name of the server

    Definition Classes
    HTTPRequestServletHTTPRequest
  44. def serverPort: Int

    returns

    - the server port

    Definition Classes
    HTTPRequestServletHTTPRequest
  45. def session: HTTPServletSession

    returns

    - the HTTP session associated with this request

    Definition Classes
    HTTPRequestServletHTTPRequest
  46. 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
    HTTPRequestServletHTTPRequest
  47. 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
    HTTPRequestServletHTTPRequest
  48. 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
    HTTPRequestServletHTTPRequest
  49. def suspend(timeout: Long): 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
    HTTPRequestServletHTTPRequest
  50. lazy val suspendResumeSupport_?: Boolean

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

    Definition Classes
    AnyRef
  52. def toString(): String

    Definition Classes
    AnyRef → Any
  53. def uri: String

    returns

    - the request URI

    Definition Classes
    HTTPRequestServletHTTPRequest
  54. def url: String

    returns

    - the request URL

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

    The User-Agent of the request

    The User-Agent of the request

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from HTTPRequest

Inherited from AnyRef

Inherited from Any