Packages

c

io.youi.server.handler

HttpHandlerBuilder

case class HttpHandlerBuilder(server: Server, urlMatcher: Option[URLMatcher] = None, requestMatchers: Set[(HttpRequest) ⇒ Boolean] = Set.empty, cachingManager: CachingManager = CachingManager.Default, priority: Priority = Priority.Normal, validators: List[Validator] = Nil) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpHandlerBuilder
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HttpHandlerBuilder(server: Server, urlMatcher: Option[URLMatcher] = None, requestMatchers: Set[(HttpRequest) ⇒ Boolean] = Set.empty, cachingManager: CachingManager = CachingManager.Default, priority: Priority = Priority.Normal, validators: List[Validator] = Nil)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(handler: HttpHandler): HttpHandler
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def caching(cachingManager: CachingManager): HttpHandlerBuilder
  7. val cachingManager: CachingManager
  8. def classLoader(directory: String = "", pathTransform: (String) ⇒ String = (s: String) => s): HttpHandler
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def content(content: ⇒ Content): HttpHandler
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def file(directory: File, pathTransform: (String) ⇒ String = (s: String) => s): HttpHandler
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def handle(f: (HttpConnection) ⇒ Future[HttpConnection]): HttpHandler
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def matcher(urlMatcher: URLMatcher): HttpHandlerBuilder
  18. def methodMatcher(method: HttpMethod): HttpHandlerBuilder
  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: Priority): HttpHandlerBuilder
  23. val priority: Priority
  24. def redirect(path: Path): HttpHandler
  25. def requestMatcher(requestMatcher: (HttpRequest) ⇒ Boolean): HttpHandlerBuilder
  26. val requestMatchers: Set[(HttpRequest) ⇒ Boolean]
  27. def resource(f: (URL) ⇒ Option[Content]): HttpHandler
  28. def resource(f: ⇒ Content): HttpHandler
  29. def restful[Request, Response](handler: (Request) ⇒ Response)(implicit decoder: Decoder[Request], encoder: Encoder[Response]): HttpHandler
  30. val server: Server
  31. def stream(baseDirectory: File, basePath: String, deltas: (HttpConnection) ⇒ List[Delta] = _ => Nil): HttpHandler
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. val urlMatcher: Option[URLMatcher]
  34. def validation(validators: Validator*): HttpHandler
  35. def validation(validator: (HttpConnection) ⇒ Future[ValidationResult]): HttpHandler
  36. val validators: List[Validator]
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  40. def withValidation(validators: Validator*): HttpHandlerBuilder
  41. def wrap(handler: HttpHandler): HttpHandler
  42. def zip(entries: ZipFileEntry*): HttpHandler

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped