Packages

t

io.youi.server.handler

HttpProcessor

trait HttpProcessor[T] extends HttpHandler

HttpProcessor extends HttpHandler to provide a clean and efficient mechanism to manage proper matching, validation, and then processing.

T

the type a match will return to be used by process if validations pass

Linear Supertypes
HttpHandler, Ordered[HttpHandler], Comparable[HttpHandler], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpProcessor
  2. HttpHandler
  3. Ordered
  4. Comparable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def matches(connection: HttpConnection): Option[T]
    Attributes
    protected
  2. abstract def process(connection: HttpConnection, value: T): Future[HttpConnection]
    Attributes
    protected
  3. abstract def validators(connection: HttpConnection): List[Validator]
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def <(that: HttpHandler): Boolean
    Definition Classes
    Ordered
  4. def <=(that: HttpHandler): Boolean
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def >(that: HttpHandler): Boolean
    Definition Classes
    Ordered
  7. def >=(that: HttpHandler): Boolean
    Definition Classes
    Ordered
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def compare(that: HttpHandler): Int
    Definition Classes
    HttpHandler → Ordered
  11. def compareTo(that: HttpHandler): Int
    Definition Classes
    Ordered → Comparable
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def handle(connection: HttpConnection): Future[HttpConnection]
    Definition Classes
    HttpProcessorHttpHandler
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def priority: Priority
    Definition Classes
    HttpHandler
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from HttpHandler

Inherited from Ordered[HttpHandler]

Inherited from Comparable[HttpHandler]

Inherited from AnyRef

Inherited from Any

Ungrouped