object ServerInterceptors
- Annotations
- @ApiMayChange()
- Source
- ServerInterceptors.scala
- Alphabetic
- By Inheritance
- ServerInterceptors
- AnyRef
- Any
- Hide All
- Show All
- 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()
- 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 hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def intercept(prefix: String, handler: Handler, system: ClassicActorSystemProvider, interceptors: ServerInterceptor*): Handler
Wraps the handler of a single service registered under a custom prefix so that only calls to that prefix pass through the interceptors.
Wraps the handler of a single service registered under a custom prefix so that only calls to that prefix pass through the interceptors.
- Annotations
- @varargs()
- def intercept(service: ServiceDescription, handler: Handler, system: ClassicActorSystemProvider, interceptors: ServerInterceptor*): Handler
Wraps the handler of a single service so that only calls to that service pass through the interceptors.
Wraps the handler of a single service so that only calls to that service pass through the interceptors. Calls to other services are passed to the handler untouched, so the result can still be combined with other handlers in
ServiceHandler.concatOrNotFound.- Annotations
- @varargs()
- def intercept(handler: Handler, system: ClassicActorSystemProvider, interceptors: ServerInterceptor*): Handler
Wraps a handler so that all gRPC calls reaching it pass through the interceptors, for example a handler for several services combined with
ServiceHandler.concatOrNotFound.Wraps a handler so that all gRPC calls reaching it pass through the interceptors, for example a handler for several services combined with
ServiceHandler.concatOrNotFound. Calls to unknown services also pass through the interceptors before the handler answers with 404. The first interceptor is the outermost. Calls with any other path of more than one segment are rejected withINVALID_ARGUMENTwithout reaching the handler.- Annotations
- @varargs()
- 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)