org.bowlerframework

view

package view

Visibility
  1. Public
  2. All

Type Members

  1. trait Accept extends AnyRef

    Created by IntelliJ IDEA.

  2. case class AcceptHeader (mediaType: String, mediaSubType: String, qualityFactor: Float) extends Ordered[AcceptHeader] with Product with Serializable

  3. class DefaultRenderStrategy extends RenderStrategy

    A Default RenderStrategy - returns a JsonViewRenderer if the client has set the "accept" header to "application/json",
    Otherwise returns a ScalateViewRenderer for rendering Scalate Web views

  4. class JsonViewRenderer extends ViewRenderer

    JSON implementation of ViewRenderer - will take a Model or Models and render a JSON representation of said Model

  5. trait RenderStrategy extends AnyRef

    Strategy for resolving a ViewRenderer given a request

  6. trait Renderable extends AnyRef

    Created by IntelliJ IDEA.

  7. class StrictRenderStrategy extends RenderStrategy

    Strict Render Strategy that adheres strictly to HTTP (not suitable for general web use where Internet Explorer may be one of the allowable clients).

  8. case class ValidationError (key: String, message: String) extends Product with Serializable

  9. case class ViewModel (alias: String, value: Any) extends Product with Serializable

    Container class to hold a model object for a view that will have a given alias/name in the overall View Model:
    For instance, a property name for a JSON object where there are more than one model object in the view, OR
    The Map key for a Scalate Map View Model

  10. case class ViewPath (method: HttpMethod, path: MappedPath) extends Product with Serializable

    Created by IntelliJ IDEA.

  11. trait ViewRenderer extends AnyRef

    Renders a View and any related Layouts if applicable.

Value Members

  1. object AcceptHeaderParser extends JavaTokenParsers

  2. object HTML extends Accept with Product with Serializable

  3. object JSON extends Accept with Product with Serializable

  4. object JsonViewRenderer extends AnyRef

  5. object XML extends Accept with Product with Serializable

  6. package json

  7. package scalate

  8. package scuery