abstract class AsyncResult extends ScalatraContext
- Alphabetic
 - By Inheritance
 
- AsyncResult
 - ScalatraContext
 - CookieContext
 - SessionSupport
 - ServletApiImplicits
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - All
 
Instance Constructors
-  new AsyncResult()(implicit scalatraContext: ScalatraContext)
 
Abstract Value Members
-  abstract val is: Future[_]
 
Concrete 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
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      
- Attributes
 - protected[java.lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        contentType: String
      
      
      
Gets the content type of the current response.
Gets the content type of the current response.
- Definition Classes
 - ScalatraContext
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        contentType_=(contentType: String): Unit
      
      
      
Sets the content type of the current response.
Sets the content type of the current response.
- Definition Classes
 - ScalatraContext
 
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        cookieOptions: CookieOptions
      
      
      
- Definition Classes
 - CookieContext
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        cookies(implicit request: HttpServletRequest): SweetCookies
      
      
      
- Definition Classes
 - CookieContext
 
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        enrichRequest(request: HttpServletRequest): RichRequest
      
      
      
- Definition Classes
 - ServletApiImplicits
 
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        enrichResponse(response: HttpServletResponse): RichResponse
      
      
      
- Definition Classes
 - ServletApiImplicits
 
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        enrichServletContext(servletContext: ServletContext): RichServletContext
      
      
      
- Definition Classes
 - ServletApiImplicits
 
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        enrichSession(session: HttpSession): RichSession
      
      
      
- Definition Classes
 - ServletApiImplicits
 
 - 
      
      
      
        
      
    
      
        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] )
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        format_=(formatValue: String): Unit
      
      
      
Explicitly sets the request-scoped format.
Explicitly sets the request-scoped format. This takes precedence over whatever was inferred from the request.
- Definition Classes
 - ScalatraContext
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        format_=(formatValue: Symbol): Unit
      
      
      
Explicitly sets the request-scoped format.
Explicitly sets the request-scoped format. This takes precedence over whatever was inferred from the request.
- Definition Classes
 - ScalatraContext
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        implicit 
        val
      
      
        request: HttpServletRequest
      
      
      
- Definition Classes
 - AsyncResult → ScalatraContext
 
 - 
      
      
      
        
      
    
      
        implicit 
        val
      
      
        response: HttpServletResponse
      
      
      
- Definition Classes
 - AsyncResult → ScalatraContext
 
 - 
      
      
      
        
      
    
      
        implicit 
        val
      
      
        scalatraContext: ScalatraContext
      
      
      
- Definition Classes
 - AsyncResult → ScalatraContext
 
 - 
      
      
      
        
      
    
      
        
        val
      
      
        servletContext: ServletContext
      
      
      
- Definition Classes
 - AsyncResult → ScalatraContext
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        session(key: Symbol)(implicit request: HttpServletRequest): Any
      
      
      
- Definition Classes
 - SessionSupport
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        session(key: String)(implicit request: HttpServletRequest): Any
      
      
      
- Definition Classes
 - SessionSupport
 
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        session(implicit request: HttpServletRequest): HttpSession
      
      
      
The current session.
The current session. Creates a session if none exists.
- Definition Classes
 - SessionSupport
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        sessionOption(implicit request: HttpServletRequest): Option[HttpSession]
      
      
      
The current session.
The current session. If none exists, None is returned.
- Definition Classes
 - SessionSupport
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        status: Int
      
      
      
Gets the status code of the current response.
Gets the status code of the current response.
- Definition Classes
 - ScalatraContext
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        status_=(code: Int): Unit
      
      
      
Sets the status code of the current response.
Sets the status code of the current response.
- Definition Classes
 - ScalatraContext
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      
- Definition Classes
 - AnyRef
 
 -  implicit def timeout: Duration
 - 
      
      
      
        
      
    
      
        
        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( ... )
 
 
Deprecated Value Members
- 
      
      
      
        
      
    
      
        
        def
      
      
        status(code: Int): Unit
      
      
      
- Definition Classes
 - ScalatraContext
 - Annotations
 - @deprecated
 - Deprecated
 (Since version 2.1.0) Use status_=(Int) instead