object ServiceHandler
- Annotations
- @ApiMayChange()
- Source
- ServiceHandler.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ServiceHandler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def concatOrNotFound(handlers: Function[HttpRequest, CompletionStage[HttpResponse]]*): Function[HttpRequest, CompletionStage[HttpResponse]]
This is an alias for handler.
This is an alias for handler.
- Annotations
- @varargs()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def handler(handlers: Function[HttpRequest, CompletionStage[HttpResponse]]*): Function[HttpRequest, CompletionStage[HttpResponse]]
Creates a
HttpRequest
toHttpResponse
handler for gRPC services that can be used in for exampleHttp().bindAndHandleAsync
for the generated partial function handlers:Creates a
HttpRequest
toHttpResponse
handler for gRPC services that can be used in for exampleHttp().bindAndHandleAsync
for the generated partial function handlers:- If the request is not handled by one of the provided handlers, a _404: Not Found_ response is produced.
- Annotations
- @varargs()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)