org.scalatra.commands

NativeJsonParsing

trait NativeJsonParsing extends CommandSupport with NativeJsonValueReaderProperty

Self Type
NativeJsonParsing with NativeJsonSupport with CommandSupport
Linear Supertypes
NativeJsonValueReaderProperty, JsonValueReaderProperty[Document], CommandSupport, CommandExecutors, ParamsValueReaderProperties, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NativeJsonParsing
  2. NativeJsonValueReaderProperty
  3. JsonValueReaderProperty
  4. CommandSupport
  5. CommandExecutors
  6. ParamsValueReaderProperties
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type CommandType = JsonCommand

    Definition Classes
    NativeJsonParsingCommandSupport

Abstract Value Members

  1. implicit abstract def jsonFormats: Formats

    Attributes
    protected
    Definition Classes
    JsonValueReaderProperty

Concrete 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. implicit def asyncExecutor[T <: Command, S](handler: (T) ⇒ Future[ModelValidation[S]])(implicit executionContext: ExecutionContext): CommandExecutor[T, Future[ModelValidation[S]]]

    Definition Classes
    CommandExecutors
  8. implicit def asyncModelExecutor[T <: Command, S](handler: (S) ⇒ Future[ModelValidation[S]])(implicit executionContext: ExecutionContext, vw: (T) ⇒ S): CommandExecutor[T, Future[ModelValidation[S]]]

    Definition Classes
    CommandExecutors
  9. def bindCommand[T <: (NativeJsonParsing.this)#CommandType](newCommand: T)(implicit request: HttpServletRequest, mf: Manifest[T]): T

    Attributes
    protected
    Definition Classes
    NativeJsonParsingCommandSupport
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def command[T <: (NativeJsonParsing.this)#CommandType](implicit request: HttpServletRequest, mf: Manifest[T]): T

    Create and bind a org.scalatra.commands.Command of the given type with the current Scalatra params.

    Create and bind a org.scalatra.commands.Command of the given type with the current Scalatra params.

    For every command type, creation and binding is performed only once and then stored into a request attribute.

    Definition Classes
    CommandSupport
  12. def commandOption[T <: (NativeJsonParsing.this)#CommandType](implicit request: HttpServletRequest, mf: Manifest[T]): Option[T]

    Definition Classes
    CommandSupport
  13. def commandOrElse[T <: (NativeJsonParsing.this)#CommandType](factory: ⇒ T)(implicit request: HttpServletRequest, mf: Manifest[T]): T

    Create and bind a org.scalatra.commands.Command of the given type with the current Scalatra params.

    Create and bind a org.scalatra.commands.Command of the given type with the current Scalatra params.

    For every command type, creation and binding is performed only once and then stored into a request attribute.

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

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

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  19. def ifValid[T <: (NativeJsonParsing.this)#CommandType](implicit mf: Manifest[T]): RouteMatcher

    Create a org.scalatra.RouteMatcher that evaluates true only if a command is valid.

    Create a org.scalatra.RouteMatcher that evaluates true only if a command is valid.

    Definition Classes
    CommandSupport
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. implicit def jsonValueReader(d: JValue): JsonValueReader

    Attributes
    protected
    Definition Classes
    JsonValueReaderProperty
  22. implicit def multiMapHeadViewMapValueReader[T <: MultiMapHeadView[String, String]](d: T): ValueReader[T, String]

    Definition Classes
    ParamsValueReaderProperties
  23. implicit def multiParamsValueReader(d: MultiParams): ValueReader[MultiParams, Seq[String]]

    Definition Classes
    ParamsValueReaderProperties
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  27. def registerCommand[T <: Command](cmd: ⇒ T)(implicit mf: Manifest[T]): Unit

    Definition Classes
    CommandSupport
  28. implicit def stringMapValueReader(d: Map[String, String]): ValueReader[Map[String, String], String]

    Definition Classes
    ParamsValueReaderProperties
  29. implicit def syncExecutor[T <: Command, S](handler: (T) ⇒ ModelValidation[S]): CommandExecutor[T, ModelValidation[S]]

    Definition Classes
    CommandExecutors
  30. implicit def syncModelExecutor[T <: Command, S](handler: (S) ⇒ ModelValidation[S])(implicit arg0: (T) ⇒ S): CommandExecutor[T, ModelValidation[S]]

    Definition Classes
    CommandExecutors
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from NativeJsonValueReaderProperty

Inherited from JsonValueReaderProperty[Document]

Inherited from CommandSupport

Inherited from CommandExecutors

Inherited from ParamsValueReaderProperties

Inherited from AnyRef

Inherited from Any

Ungrouped