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
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpHandlerBuilder
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- 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
-
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
- def apply(handler: HttpHandler): HttpHandler
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def caching(cachingManager: CachingManager): HttpHandlerBuilder
- val cachingManager: CachingManager
- def classLoader(directory: String = "", pathTransform: (String) ⇒ String = (s: String) => s): HttpHandler
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def content(content: ⇒ Content): HttpHandler
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def file(directory: File, pathTransform: (String) ⇒ String = (s: String) => s): HttpHandler
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def handle(f: (HttpConnection) ⇒ Future[HttpConnection]): HttpHandler
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def matcher(urlMatcher: URLMatcher): HttpHandlerBuilder
- def methodMatcher(method: HttpMethod): HttpHandlerBuilder
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def priority(priority: Priority): HttpHandlerBuilder
- val priority: Priority
- def redirect(path: Path): HttpHandler
- def requestMatcher(requestMatcher: (HttpRequest) ⇒ Boolean): HttpHandlerBuilder
- val requestMatchers: Set[(HttpRequest) ⇒ Boolean]
- def resource(f: (URL) ⇒ Option[Content]): HttpHandler
- def resource(f: ⇒ Content): HttpHandler
- def restful[Request, Response](handler: (Request) ⇒ Response)(implicit decoder: Decoder[Request], encoder: Encoder[Response]): HttpHandler
- val server: Server
- def stream(baseDirectory: File, basePath: String, deltas: (HttpConnection) ⇒ List[Delta] = _ => Nil): HttpHandler
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val urlMatcher: Option[URLMatcher]
- def validation(validators: Validator*): HttpHandler
- def validation(validator: (HttpConnection) ⇒ Future[ValidationResult]): HttpHandler
- val validators: List[Validator]
-
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( ... ) @native()
- def withValidation(validators: Validator*): HttpHandlerBuilder
- def wrap(handler: HttpHandler): HttpHandler
- def zip(entries: ZipFileEntry*): HttpHandler