Trait

org.scalatra.commands

JacksonJsonParsing

Related Doc: package commands

Permalink

trait JacksonJsonParsing extends CommandSupport with JacksonJsonValueReaderProperty

Self Type
JacksonJsonParsing with JacksonJsonSupport with CommandSupport
Annotations
@deprecated
Deprecated

(Since version 2.6.0) Use scalatra-forms instead.

Linear Supertypes
JacksonJsonValueReaderProperty, JsonValueReaderProperty[JValue], CommandSupport, CommandExecutors, ParamsValueReaderProperties, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JacksonJsonParsing
  2. JacksonJsonValueReaderProperty
  3. JsonValueReaderProperty
  4. CommandSupport
  5. CommandExecutors
  6. ParamsValueReaderProperties
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type CommandType = JsonCommand

    Permalink
    Definition Classes
    JacksonJsonParsingCommandSupport

Abstract Value Members

  1. implicit abstract def jsonFormats: Formats

    Permalink
    Attributes
    protected
    Definition Classes
    JsonValueReaderProperty

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    JacksonJsonParsingCommandSupport
  8. def clone(): AnyRef

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

    Permalink

    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
  10. def commandOption[T <: (JacksonJsonParsing.this)#CommandType](implicit request: HttpServletRequest, mf: Manifest[T]): Option[T]

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

    Permalink

    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. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink

    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
  18. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from JacksonJsonValueReaderProperty

Inherited from JsonValueReaderProperty[JValue]

Inherited from CommandSupport

Inherited from CommandExecutors

Inherited from ParamsValueReaderProperties

Inherited from AnyRef

Inherited from Any

Ungrouped