trait CommandSupport extends ParamsValueReaderProperties with CommandExecutors
Support for org.scalatra.commands.Command binding and validation.
- Self Type
 - CommandSupport with ScalatraBase
 
- Alphabetic
 - By Inheritance
 
- CommandSupport
 - CommandExecutors
 - ParamsValueReaderProperties
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - All
 
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        asyncExecutor[T <: Command, S](handler: (T) ⇒ Future[ModelValidation[S]])(implicit executionContext: ExecutionContext): CommandExecutor[T, Future[ModelValidation[S]]]
      
      
      
- Definition Classes
 - CommandExecutors
 
 - 
      
      
      
        
      
    
      
        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
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        bindCommand[T <: (CommandSupport.this)#CommandType](newCommand: T)(implicit request: HttpServletRequest, mf: Manifest[T]): T
      
      
      
- Attributes
 - protected
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      
- Attributes
 - protected[java.lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        command[T <: (CommandSupport.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.
 -  def commandOption[T <: (CommandSupport.this)#CommandType](implicit request: HttpServletRequest, mf: Manifest[T]): Option[T]
 - 
      
      
      
        
      
    
      
        
        def
      
      
        commandOrElse[T <: (CommandSupport.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.
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      
- Attributes
 - protected[java.lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( classOf[java.lang.Throwable] )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        ifValid[T <: (CommandSupport.this)#CommandType](implicit mf: Manifest[T]): RouteMatcher
      
      
      
Create a org.scalatra.RouteMatcher that evaluates true only if a command is valid.
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        multiMapHeadViewMapValueReader[T <: MultiMapHeadView[String, String]](d: T): ValueReader[T, String]
      
      
      
- Definition Classes
 - ParamsValueReaderProperties
 
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        multiParamsValueReader(d: MultiParams): ValueReader[MultiParams, Seq[String]]
      
      
      
- Definition Classes
 - ParamsValueReaderProperties
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      
- Definition Classes
 - AnyRef
 
 -  def registerCommand[T <: Command](cmd: ⇒ T)(implicit mf: Manifest[T]): Unit
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        stringMapValueReader(d: Map[String, String]): ValueReader[Map[String, String], String]
      
      
      
- Definition Classes
 - ParamsValueReaderProperties
 
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        syncExecutor[T <: Command, S](handler: (T) ⇒ ModelValidation[S]): CommandExecutor[T, ModelValidation[S]]
      
      
      
- Definition Classes
 - CommandExecutors
 
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        syncModelExecutor[T <: Command, S](handler: (S) ⇒ ModelValidation[S])(implicit T: (T) ⇒ S): CommandExecutor[T, ModelValidation[S]]
      
      
      
- Definition Classes
 - CommandExecutors
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )