Class

io.youi.server.handler

HttpHandlerBuilder

Related Doc: package handler

Permalink

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)

    Permalink

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. def apply(handler: HttpHandler): HttpHandler

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def caching(cachingManager: CachingManager): HttpHandlerBuilder

    Permalink
  7. val cachingManager: CachingManager

    Permalink
  8. def classLoader(directory: String = "", pathTransform: (String) ⇒ String = (s: String) => s): HttpHandler

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def content(content: ⇒ Content): HttpHandler

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def file(directory: File, pathTransform: (String) ⇒ String = (s: String) => s): HttpHandler

    Permalink
  13. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def handle(f: (HttpConnection) ⇒ Future[HttpConnection]): HttpHandler

    Permalink
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def matcher(urlMatcher: URLMatcher): HttpHandlerBuilder

    Permalink
  18. def methodMatcher(method: Method): HttpHandlerBuilder

    Permalink
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def priority(priority: Priority): HttpHandlerBuilder

    Permalink
  23. val priority: Priority

    Permalink
  24. def redirect(path: Path): HttpHandler

    Permalink
  25. def requestMatcher(requestMatcher: (HttpRequest) ⇒ Boolean): HttpHandlerBuilder

    Permalink
  26. val requestMatchers: Set[(HttpRequest) ⇒ Boolean]

    Permalink
  27. def resource(f: (URL) ⇒ Option[Content]): HttpHandler

    Permalink
  28. def resource(f: ⇒ Content): HttpHandler

    Permalink
  29. def restful[Request, Response](handler: (Request) ⇒ Response)(implicit decoder: Decoder[Request], encoder: Encoder[Response]): HttpHandler

    Permalink
  30. val server: Server

    Permalink
  31. def stream(baseDirectory: File, basePath: String, deltas: (HttpConnection) ⇒ List[Delta] = _ => Nil): HttpHandler

    Permalink
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. val urlMatcher: Option[URLMatcher]

    Permalink
  34. def validation(validators: Validator*): HttpHandler

    Permalink
  35. def validation(validator: (HttpConnection) ⇒ Future[ValidationResult]): HttpHandler

    Permalink
  36. val validators: List[Validator]

    Permalink
  37. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def withValidation(validators: Validator*): HttpHandlerBuilder

    Permalink
  41. def wrap(handler: HttpHandler): HttpHandler

    Permalink
  42. def zip(entries: ZipFileEntry*): HttpHandler

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped