xitrum

js

Related Docs: object js | package xitrum

class js extends FutureAction

To innclude xitrum.js in your view, use: url[xitrum.js].

Annotations
@First() @GET( paths = "xitrum/xitrum.js" )
Linear Supertypes
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. js
  2. FutureAction
  3. Action
  4. I18n
  5. Responder
  6. Flash
  7. Js
  8. Renderer
  9. GetActionClassDefaultsToCurrentAction
  10. Url
  11. Redirect
  12. BasicAuth
  13. Filter
  14. Net
  15. Log
  16. SessionEnv
  17. Csrf
  18. RequestEnv
  19. ParamAccess
  20. AnyRef
  21. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new js()

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def absUrl[T <: Action](implicit arg0: Manifest[T]): String

    Definition Classes
    Url
  5. def absUrl[T <: Action](params: (String, Any)*)(implicit arg0: Manifest[T]): String

    Definition Classes
    Url
  6. def absUrl(params: (String, Any)*): String

    Definition Classes
    Url
  7. lazy val absUrl: String

    Definition Classes
    Url
  8. lazy val absUrlPrefix: String

    Definition Classes
    Url
  9. lazy val absUrlPrefixWithoutScheme: String

    Definition Classes
    Url
  10. def addConnectionClosedListener(listener: ⇒ Unit): Unit

    Definition Classes
    Action
  11. def afterFilter(f: ⇒ Any): Unit

    Definition Classes
    Filter
  12. lazy val antiCsrfInput: Elem

    Definition Classes
    Csrf
  13. lazy val antiCsrfMeta: Elem

    Definition Classes
    Csrf
  14. def antiCsrfToken: String

    Definition Classes
    Csrf
  15. def apply(handlerEnv: HandlerEnv): Unit

    Definition Classes
    RequestEnv
  16. def aroundFilter(f: (() ⇒ Any) ⇒ Any): Unit

    Definition Classes
    Filter
  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. lazy val at: At

    Definition Classes
    RequestEnv
  19. def atJson(key: String): String

    Definition Classes
    RequestEnv
  20. def autosetLanguage(resourceLanguages: String*): Unit

    If there's no suitable language, language is still the default "en".

    If there's no suitable language, language is still the default "en".

    Definition Classes
    I18n
  21. def basicAuth(realm: String)(authenticator: (String, String) ⇒ Boolean): Boolean

    authenticator

    takes username and password, returns true if it want to let the user in.

    Definition Classes
    BasicAuth
  22. def beforeFilter(f: ⇒ Any): Unit

    Adds a before filter.

    Adds a before filter.

    Definition Classes
    Filter
  23. lazy val bodyFileParams: FileUploadParams

    Definition Classes
    RequestEnv
  24. lazy val bodyTextParams: Params

    Params after the question mark of the URL.

    Params after the question mark of the URL. Ex: /search?q=xitrum

    Definition Classes
    RequestEnv
  25. lazy val browserLanguages: Array[String]

    returns

    List of languages sorted by priority from high to low

    Definition Classes
    I18n
  26. def callAfterFilters(): Unit

    Called by Dispatcher.

    Called by Dispatcher. Calls all after filters.

    Definition Classes
    Filter
  27. def callBeforeFilters(): Boolean

    Called by Dispatcher.

    Called by Dispatcher. Calls all before filters until a filter has responded something.

    returns

    false if a before filter has responded something and later before filters and the action's "execute" method should not be called

    Definition Classes
    Filter
  28. def callExecuteWrappedInAroundFilters(): Unit

    Called by Dispatcher

    Called by Dispatcher

    Definition Classes
    Filter
  29. lazy val channel: Channel

    Definition Classes
    RequestEnv
  30. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def convertTextParam[T](value: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): T

    Applications may override this method to convert to more types.

    Applications may override this method to convert to more types.

    Definition Classes
    ParamAccess
  32. implicit val currentAction: Action

    This is convenient, for example, when you want to get the current action in view templates.

    This is convenient, for example, when you want to get the current action in view templates.

    Definition Classes
    Action
  33. def dispatchWithFailsafe(): Unit

    Definition Classes
    Action
  34. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  36. def execute(): Unit

    Called when the HTTP request comes in.

    Called when the HTTP request comes in. Actions have to implement this method.

    Definition Classes
    jsAction
  37. implicit val executionContext: ExecutionContextExecutor

    This is convenient, for example, when you use scala.concurrent.Future.

    This is convenient, for example, when you use scala.concurrent.Future.

    Definition Classes
    Action
  38. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  39. def flash(): String

    Returns the current content in flash, and clears the flash.

    Returns the current content in flash, and clears the flash.

    Definition Classes
    Flash
  40. def flash(msg: Any): Unit

    Definition Classes
    Flash
    See also

    jsFlash(msg).

  41. def forwardTo(actionClass: Class[_ <: Action]): Unit

    Definition Classes
    Redirect
  42. def forwardTo[T <: Action]()(implicit arg0: Manifest[T]): Unit

    Example: forwardTo[AnotherActionClass]()

    Example: forwardTo[AnotherActionClass]()

    Tells another action to process the current request for the current action. See also redirectTo.

    Definition Classes
    Redirect
  43. var forwarding: Boolean

    Set to true by forwardTo.

    Set to true by forwardTo.

    Definition Classes
    Redirect
  44. def getActionClass[T <: Action](implicit arg0: Manifest[T]): Class[Action]

  45. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  46. var handlerEnv: HandlerEnv

    Definition Classes
    RequestEnv
  47. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  48. lazy val isAjax: Boolean

    Definition Classes
    Js
  49. def isDoneResponding: Boolean

    Definition Classes
    Responder
  50. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  51. lazy val isSsl: Boolean

    Definition Classes
    Net
  52. def js$(selector: String): String

    Definition Classes
    Js
  53. def js$id(id: String): String

    Definition Classes
    Js
  54. def js$name(name: String): String

    Definition Classes
    Js
  55. def jsAddToView(js: Any): Unit

    You can use this method to add dynamic JS snippets to a buffer, then use method jsForView to take out that buffer to embed the snippets to view template.

    You can use this method to add dynamic JS snippets to a buffer, then use method jsForView to take out that buffer to embed the snippets to view template.

    Definition Classes
    Js
  56. lazy val jsDefaults: Group

    Definition Classes
    Js
  57. def jsEscape(string: Any): String

    Do not use this to escape JSON, because they are different! For example JSON does not escape ' character, while JavaScript does.

    Do not use this to escape JSON, because they are different! For example JSON does not escape ' character, while JavaScript does. To escape JSON, use xitrum.util.SeriDeseri.toJson(Seq(string)).

    org.apache.commons.lang3.StringEscapeUtils is used internally.

    Definition Classes
    Js
  58. lazy val jsForView: Serializable

    See jsAddToView.

    See jsAddToView.

    Definition Classes
    Js
  59. def jsRedirectTo[T <: Action](params: (String, Any)*)(implicit arg0: Manifest[T]): ChannelFuture

    Definition Classes
    Js
  60. def jsRedirectTo(location: Any): ChannelFuture

    See http://stackoverflow.com/questions/503093/how-can-i-make-a-redirect-page-in-jquery

    See http://stackoverflow.com/questions/503093/how-can-i-make-a-redirect-page-in-jquery

    Definition Classes
    Js
  61. def jsRenderFlash(): Unit

    Like jsRenderFlash(msg), but uses the current flash.

    Like jsRenderFlash(msg), but uses the current flash.

    Definition Classes
    Flash
  62. def jsRenderFlash(msg: Any): Unit

    For web 2.0 style application.

    For web 2.0 style application. Used in application layout to display the flash message right after a view is loaded.

    Definition Classes
    Flash
  63. def jsRespond(fragments: Any*): ChannelFuture

    Definition Classes
    Js
  64. def jsRespondFlash(msg: Any): Unit

    For web 2.0 style application.

    For web 2.0 style application. Used in Ajax request handling to respond a message and have the browser render it to the flash area right away.

    Definition Classes
    Flash
  65. def language: String

    Default language is "en".

    Default language is "en".

    Definition Classes
    I18n
  66. def language_=(lang: String): Unit

    Definition Classes
    I18n
  67. def layout: Any

    Definition Classes
    Renderer
  68. lazy val log: Logger

    Log name is inferred from name of the class extending this trait.

    Log name is inferred from name of the class extending this trait.

    Definition Classes
    Log
  69. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  70. def newComponent[T <: Component]()(implicit arg0: Manifest[T]): T

    Definition Classes
    Action
  71. final def notify(): Unit

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

    Definition Classes
    AnyRef
  73. def onDoneResponding(): Unit

    Called when the response or the last chunk (in case of chunked response) has been sent to the client.

    Called when the response or the last chunk (in case of chunked response) has been sent to the client.

    Definition Classes
    Responder
  74. def param[T](key: String, coll: Params)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], d: DefaultsTo[T, String]): T

    Definition Classes
    ParamAccess
  75. def param[T](key: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], d: DefaultsTo[T, String]): T

    Definition Classes
    ParamAccess
  76. def paramo[T](key: String, coll: Params)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], d: DefaultsTo[T, String]): Option[T]

    Definition Classes
    ParamAccess
  77. def paramo[T](key: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], d: DefaultsTo[T, String]): Option[T]

    Definition Classes
    ParamAccess
  78. def params[T](key: String, coll: Params)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], d: DefaultsTo[T, String]): Seq[T]

    Definition Classes
    ParamAccess
  79. def params[T](key: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], d: DefaultsTo[T, String]): Seq[T]

    Definition Classes
    ParamAccess
  80. lazy val pathParams: Params

    Params embedded in the path.

    Params embedded in the path. Ex: /articles/:id

    Definition Classes
    RequestEnv
  81. def publicUrl(directory: String, devPath: String, prodPath: String): String

    Ex: publicUrl("jquery/2.1.3", "jquery.js", "jquery.min.js")

    Ex: publicUrl("jquery/2.1.3", "jquery.js", "jquery.min.js")

    directory

    Relative to the "public" directory, without leading "/"

    devPath

    File path to use in development mode, relative to "directory" above

    prodPath

    File path to use in production mode, relative to "directory" above

    Definition Classes
    Url
  82. def publicUrl(devPath: String, prodPath: String): String

    Ex: publicUrl("jquery.js", "jquery.min.js")

    Ex: publicUrl("jquery.js", "jquery.min.js")

    devPath

    File path to use in development mode, relative to the "public" directory, without leading "/"

    prodPath

    File path to use in production mode, relative to the "public" directory, without leading "/"

    Definition Classes
    Url
  83. def publicUrl(path: String): String

    Ex: publicUrl("jquery/2.1.3/jquery.js")

    Ex: publicUrl("jquery/2.1.3/jquery.js")

    path

    Relative to the "public" directory, without leading "/"

    Definition Classes
    Url
  84. lazy val queryParams: Params

    Params after the question mark of the URL.

    Params after the question mark of the URL. Ex: /search?q=xitrum

    Definition Classes
    RequestEnv
  85. def redirectTo[T <: Action](params: (String, Any)*)(implicit arg0: Manifest[T]): ChannelFuture

    Example: redirectTo[AnotherActionClass]()

    Example: redirectTo[AnotherActionClass]()

    Example: redirectTo[AnotherActionClass]("param1" -> value1, "param2" -> value2)

    See also forwardTo.

    Definition Classes
    Redirect
  86. def redirectTo(location: String, status: HttpResponseStatus = FOUND): ChannelFuture

    Example: redirectTo("https://google.com/"); status will be 302 FOUND

    Example: redirectTo("https://google.com/"); status will be 302 FOUND

    Example: redirectTo("https://google.com/", HttpResponseStatus.MOVED_PERMANENTLY)

    See also forwardTo.

    Definition Classes
    Redirect
  87. def redirectToThis(params: (String, Any)*): ChannelFuture

    Example: redirectToThis()

    Example: redirectToThis()

    Example: redirectToThis("param1" -> value1, "param2" -> value2)

    Redirects back to the current action. See also forwardTo.

    Definition Classes
    Redirect
  88. lazy val remoteIp: String

    returns

    IPv4 or IPv6 of the original remote HTTP client (not the proxy), X-Forwarded-For is supported

    Definition Classes
    Net
  89. def renderEventSource(data: Any, event: String = "message"): String

    Definition Classes
    Renderer
  90. def renderFragment[T <: Action](fragment: String)(implicit arg0: Manifest[T]): String

    Definition Classes
    Renderer
  91. def renderFragment[T <: Action](fragment: String, options: Map[String, Any])(implicit arg0: Manifest[T]): String

    Definition Classes
    Renderer
  92. def renderFragment(directory: Class[_ <: Action], fragment: String, options: Map[String, Any]): String

    Definition Classes
    Renderer
  93. def renderFragment(directory: String, fragment: String): String

    Definition Classes
    Renderer
  94. def renderFragment(directory: String, fragment: String, options: Map[String, Any]): String

    Definition Classes
    Renderer
  95. def renderInlineView(inlineView: Any): String

    Definition Classes
    Renderer
  96. def renderView[T <: Action]()(implicit arg0: Manifest[T]): String

    Definition Classes
    Renderer
  97. def renderView[T <: Action](options: Map[String, Any])(implicit arg0: Manifest[T]): String

    Definition Classes
    Renderer
  98. def renderView[T <: Action](customLayout: () ⇒ Any)(implicit arg0: Manifest[T]): String

    Definition Classes
    Renderer
  99. def renderView[T <: Action](customLayout: () ⇒ Any, options: Map[String, Any])(implicit arg0: Manifest[T]): String

    Definition Classes
    Renderer
  100. def renderView(customLayout: () ⇒ Any, location: Class[_ <: Action], options: Map[String, Any]): String

    Renders the template associated with the location to "renderedView", then calls the layout function.

    Renders the template associated with the location to "renderedView", then calls the layout function.

    options

    specific to the configured template engine

    Definition Classes
    Renderer
  101. def renderView(location: String): String

    Definition Classes
    Renderer
  102. def renderView(location: String, options: Map[String, Any]): String

    Definition Classes
    Renderer
  103. def renderView(customLayout: () ⇒ Any, location: String): String

    Renders the template associated with the location to "renderedView", then calls the layout function.

    Renders the template associated with the location to "renderedView", then calls the layout function.

    Definition Classes
    Renderer
  104. def renderView(customLayout: () ⇒ Any, location: String, options: Map[String, Any]): String

    Renders the template associated with the location to "renderedView", then calls the layout function.

    Renders the template associated with the location to "renderedView", then calls the layout function.

    options

    specific to the configured template engine

    Definition Classes
    Renderer
  105. def renderViewNoLayout[T <: Action]()(implicit arg0: Manifest[T]): String

    Definition Classes
    Renderer
  106. def renderViewNoLayout[T <: Action](options: Map[String, Any])(implicit arg0: Manifest[T]): String

    Definition Classes
    Renderer
  107. def renderViewNoLayout(location: Class[_ <: Action], options: Map[String, Any]): String

    Definition Classes
    Renderer
  108. def renderViewNoLayout(location: String): String

    Definition Classes
    Renderer
  109. def renderViewNoLayout(location: String, options: Map[String, Any]): String

    Definition Classes
    Renderer
  110. var renderedView: Any

    Definition Classes
    Renderer
  111. lazy val request: FullHttpRequest

    Definition Classes
    RequestEnv
  112. def requestContentJson[T](implicit e: DefaultsTo[T, String], m: Manifest[T]): Option[T]

    Ex: val json = requestContentJson[Map[String, String]]

    Ex: val json = requestContentJson[Map[String, String]]

    Definition Classes
    RequestEnv
  113. lazy val requestContentString: String

    Definition Classes
    RequestEnv
  114. lazy val requestCookies: Map[String, String]

    Browsers will not send cookie attributes back to the server.

    Browsers will not send cookie attributes back to the server. They will only send the cookie (name-value pairs). http://en.wikipedia.org/wiki/HTTP_cookie#Cookie_attributes

    Definition Classes
    SessionEnv
  115. def respond(): ChannelFuture

    Definition Classes
    Responder
  116. def respond404Page(): Unit

    Definition Classes
    Responder
  117. def respond500Page(): Unit

    Definition Classes
    Responder
  118. def respondBinary(byteBuf: ByteBuf): ChannelFuture

    If Content-Type header is not set, it is set to "application/octet-stream".

    If Content-Type header is not set, it is set to "application/octet-stream".

    byteBuf

    Will be released

    Definition Classes
    Responder
  119. def respondBinary(bytes: Array[Byte]): ChannelFuture

    If Content-Type header is not set, it is set to "application/octet-stream".

    If Content-Type header is not set, it is set to "application/octet-stream".

    Definition Classes
    Responder
  120. def respondDefault404Page(): ChannelFuture

    Definition Classes
    Responder
  121. def respondDefault500Page(): ChannelFuture

    Definition Classes
    Responder
  122. def respondEventSource(data: Any, event: String = "message"): ChannelFuture

    To respond event source, call this method as many time as you want.

    To respond event source, call this method as many time as you want. Event Source response is a special kind of chunked response, data must be UTF-8. See: - http://sockjs.github.com/sockjs-protocol/sockjs-protocol-0.3.3.html#section-94 - http://dev.w3.org/html5/eventsource/

    No need to call setChunked() before calling this method.

    Definition Classes
    Responder
  123. def respondFile(path: String): ChannelFuture

    Sends a file using X-SendFile.

    Sends a file using X-SendFile. If Content-Type header is not set, it is guessed from the file name.

    path

    absolute or relative to the current working directory

    In some cases, the current working directory is not always the root directory of the project (https://github.com/xitrum-framework/xitrum/issues/47), you may need to use xitrum.Config.root to calculate the correct absolute path from a relative path.

    To sanitize the path, use xitrum.util.PathSanitizer.

    Definition Classes
    Responder
  124. def respondHtml(any: Any): ChannelFuture

    Content-Type header is set to "text/html".

    Content-Type header is set to "text/html".

    Definition Classes
    Responder
  125. def respondInlineView(inlineView: Any): ChannelFuture

    Content-Type header is set to "text/html".

    Content-Type header is set to "text/html".

    Definition Classes
    Responder
  126. def respondJs(any: Any): ChannelFuture

    Content-Type header is set to "application/javascript".

    Content-Type header is set to "application/javascript".

    Definition Classes
    Responder
  127. def respondJson(ref: AnyRef): ChannelFuture

    Converts the given Scala object to JSON object, and responds it.

    Converts the given Scala object to JSON object, and responds it. If you just want to respond a text with "application/json" as content type, use respondJsonText(text).

    Content-Type header is set to "application/json". "text/json" would make the browser download instead of displaying the content. It makes debugging a pain.

    Definition Classes
    Responder
  128. def respondJsonP(ref: AnyRef, function: String): ChannelFuture

    Converts the given Scala object to JSON object, wraps it with the given JavaScript function name, and responds.

    Converts the given Scala object to JSON object, wraps it with the given JavaScript function name, and responds. If you already have a JSON text, thus no conversion is needed, use respondJsonPText.

    Content-Type header is set to "application/javascript".

    Definition Classes
    Responder
  129. def respondJsonPText(text: Any, function: String): ChannelFuture

    Wraps the text with the given JavaScript function name, and responds.

    Wraps the text with the given JavaScript function name, and responds.

    Content-Type header is set to "application/javascript".

    Definition Classes
    Responder
  130. def respondJsonText(any: Any): ChannelFuture

    Content-Type header is set to "application/json".

    Content-Type header is set to "application/json".

    Definition Classes
    Responder
  131. def respondLastChunk(trailingHeaders: HttpHeaders = HttpHeaders.EMPTY_HEADERS): ChannelFuture

    See setChunked.

    See setChunked.

    Definition Classes
    Responder
  132. def respondResource(path: String): ChannelFuture

    Sends a file from public directory in one of the entry (may be a JAR file) in classpath.

    Sends a file from public directory in one of the entry (may be a JAR file) in classpath. If Content-Type header is not set, it is guessed from the file name.

    path

    Relative to an entry in classpath, without leading "/"

    Definition Classes
    Responder
  133. def respondText(text: Any, fallbackContentType: String = null, convertXmlToXhtml: Boolean = true): ChannelFuture

    fallbackContentType

    Only used if Content-Type header has not been set. If not given and Content-Type header is not set, it is set to "application/xml" if text param is Node or NodeSeq, otherwise it is set to "text/plain".

    convertXmlToXhtml


    .toString by default returns

    which is rendered as 2
    tags on some browsers! Set to false if you really want XML, not XHTML. See http://www.scala-lang.org/node/492 and http://www.ne.jp/asahi/hishidama/home/tech/scala/xml.html

    Definition Classes
    Responder
  134. def respondView[T <: Action]()(implicit arg0: Manifest[T]): ChannelFuture

    Definition Classes
    Responder
  135. def respondView[T <: Action](options: Map[String, Any])(implicit arg0: Manifest[T]): ChannelFuture

    Definition Classes
    Responder
  136. def respondView[T <: Action](customLayout: () ⇒ Any)(implicit arg0: Manifest[T]): ChannelFuture

    Definition Classes
    Responder
  137. def respondView[T <: Action](customLayout: () ⇒ Any, options: Map[String, Any])(implicit arg0: Manifest[T]): ChannelFuture

    Definition Classes
    Responder
  138. def respondView(customLayout: () ⇒ Any, location: Class[_ <: Action], options: Map[String, Any]): ChannelFuture

    options

    specific to the configured template engine

    Definition Classes
    Responder
  139. def respondView(location: String): ChannelFuture

    Definition Classes
    Responder
  140. def respondView(location: String, options: Map[String, Any]): ChannelFuture

    Definition Classes
    Responder
  141. def respondView(customLayout: () ⇒ Any, location: String): ChannelFuture

    Definition Classes
    Responder
  142. def respondView(customLayout: () ⇒ Any, location: String, options: Map[String, Any]): ChannelFuture

    options

    specific to the configured template engine

    Definition Classes
    Responder
  143. def respondViewNoLayout[T <: Action]()(implicit arg0: Manifest[T]): ChannelFuture

    Definition Classes
    Responder
  144. def respondViewNoLayout[T <: Action](options: Map[String, Any])(implicit arg0: Manifest[T]): ChannelFuture

    Definition Classes
    Responder
  145. def respondViewNoLayout(location: Class[_ <: Action], options: Map[String, Any]): ChannelFuture

    Content-Type header is set to "text/html".

    Content-Type header is set to "text/html".

    Definition Classes
    Responder
  146. def respondViewNoLayout(location: String): ChannelFuture

    Definition Classes
    Responder
  147. def respondViewNoLayout(location: String, options: Map[String, Any]): ChannelFuture

    Content-Type header is set to "text/html".

    Content-Type header is set to "text/html".

    Definition Classes
    Responder
  148. def respondXml(any: Any): ChannelFuture

    Content-Type header is set to "application/xml".

    Content-Type header is set to "application/xml".

    Definition Classes
    Responder
  149. lazy val response: FullHttpResponse

    Definition Classes
    RequestEnv
  150. lazy val responseCookies: ArrayBuffer[Cookie]

    Definition Classes
    SessionEnv
  151. lazy val scheme: String

    Definition Classes
    Net
  152. lazy val serverName: String

    Definition Classes
    Net
  153. lazy val serverPort: Int

    Definition Classes
    Net
  154. lazy val session: Session

    To reset session: session.clear()

    To reset session: session.clear()

    Definition Classes
    SessionEnv
  155. def sessiono[T](key: String)(implicit d: DefaultsTo[T, String]): Option[T]

    Definition Classes
    SessionEnv
  156. def setChunked(): Unit

    To respond chunks (http://en.wikipedia.org/wiki/Chunked_transfer_encoding): 1.

    To respond chunks (http://en.wikipedia.org/wiki/Chunked_transfer_encoding): 1. Call setChunked() to mark that the response will be chunked 2. Call respondXXX as normal, but as many times as you want 3. Lastly, call respondLastChunk()

    If Content-Type header is not set, it is set to "application/octet-stream".

    Definition Classes
    Responder
  157. def setClientCacheAggressively(): Unit

    Definition Classes
    Responder
  158. def setCookieAndSessionIfTouchedOnRespond(): Unit

    Definition Classes
    SessionEnv
  159. def setNoClientCache(): Unit

    Definition Classes
    Responder
  160. def sockJsAbsUrl[T <: SockJsAction](implicit arg0: Manifest[T]): String

    Definition Classes
    Url
  161. def sockJsUrl[T <: SockJsAction](implicit arg0: Manifest[T]): String

    Definition Classes
    Url
  162. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  163. def t(singular: String): String

    Definition Classes
    I18n
  164. def tc(ctx: String, singular: String): String

    Definition Classes
    I18n
  165. def tcf(ctx: String, singular: String, args: Any*): String

    Definition Classes
    I18n
  166. def tcn(ctx: String, singular: String, plural: String, n: Long): String

    Definition Classes
    I18n
  167. def tcnf(ctx: String, singular: String, plural: String, n: Long, args: Any*): String

    Definition Classes
    I18n
  168. lazy val textParams: Params

    The merge of all text params (queryParams, bodyParams, and pathParams), as contrast to file upload (bodyFileParams).

    The merge of all text params (queryParams, bodyParams, and pathParams), as contrast to file upload (bodyFileParams).

    Definition Classes
    RequestEnv
  169. def tf(singular: String, args: Any*): String

    Definition Classes
    I18n
  170. implicit val timeout: FiniteDuration

    This is convenient, for example, when you use scala.concurrent.Await.

    This is convenient, for example, when you use scala.concurrent.Await.

    Definition Classes
    Action
  171. def tn(singular: String, plural: String, n: Long): String

    Definition Classes
    I18n
  172. def tnf(singular: String, plural: String, n: Long, args: Any*): String

    Definition Classes
    I18n
  173. def toString(): String

    Definition Classes
    AnyRef → Any
  174. def url[T <: Action](implicit arg0: Manifest[T]): String

    Definition Classes
    Url
  175. def url[T <: Action](params: (String, Any)*)(implicit arg0: Manifest[T]): String

    Definition Classes
    Url
  176. def url(params: (String, Any)*): String

    Definition Classes
    Url
  177. lazy val url: String

    Definition Classes
    Url
  178. lazy val urlParams: Params

    The merge of queryParams and pathParams, things that appear in the request URL.

    The merge of queryParams and pathParams, things that appear in the request URL.

    Definition Classes
    RequestEnv
  179. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  182. def webJarsUrl(directory: String, devFile: String, prodFile: String): String

    Ex: webJarsUrl("jquery/2.1.3", "jquery.js", "jquery.min.js")

    Ex: webJarsUrl("jquery/2.1.3", "jquery.js", "jquery.min.js")

    devFile

    File to use in development mode

    prodFile

    File to use in production mode

    Definition Classes
    Url
  183. def webJarsUrl(path: String): String

    path

    Use "myapp/foo.js" to specify "META-INF/resources/webjars/myapp/foo.js"

    Definition Classes
    Url
  184. lazy val webSocketAbsRequestUrl: String

    Definition Classes
    Url
  185. def webSocketAbsUrl[T <: WebSocketAction](implicit arg0: Manifest[T]): String

    Definition Classes
    Url
  186. def webSocketAbsUrl[T <: WebSocketAction](params: (String, Any)*)(implicit arg0: Manifest[T]): String

    Definition Classes
    Url
  187. def webSocketAbsUrl(params: (String, Any)*): String

    Definition Classes
    Url
  188. lazy val webSocketAbsUrl: String

    Definition Classes
    Url
  189. lazy val webSocketAbsUrlPrefix: String

    Definition Classes
    Url
  190. lazy val webSocketScheme: String

    Definition Classes
    Net
  191. lazy val xitrumCss: Elem

    Definition Classes
    Flash

Inherited from FutureAction

Inherited from Action

Inherited from I18n

Inherited from Responder

Inherited from Flash

Inherited from Js

Inherited from Renderer

Inherited from Url

Inherited from Redirect

Inherited from BasicAuth

Inherited from Filter

Inherited from Net

Inherited from Log

Inherited from SessionEnv

Inherited from Csrf

Inherited from RequestEnv

Inherited from ParamAccess

Inherited from AnyRef

Inherited from Any

Ungrouped