Class

wvlet.airframe.http.grpc

GrpcServerConfig

Related Doc: package grpc

Permalink

case class GrpcServerConfig(name: String = "default", serverPort: Option[Int] = None, router: Router = Router.empty, interceptors: Seq[ServerInterceptor] = Seq.empty, serverInitializer: (ServerBuilder[_]) ⇒ ServerBuilder[_] = identity) extends LogSupport with Product with Serializable

Linear Supertypes
Product, Equals, LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GrpcServerConfig
  2. Product
  3. Equals
  4. LogSupport
  5. LazyLogger
  6. LoggingMethods
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GrpcServerConfig(name: String = "default", serverPort: Option[Int] = None, router: Router = Router.empty, interceptors: Seq[ServerInterceptor] = Seq.empty, serverInitializer: (ServerBuilder[_]) ⇒ ServerBuilder[_] = identity)

    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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. macro def debug(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  7. macro def debug(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  8. def design: Design

    Permalink

    Create a GrpcServer design for Airframe DI

  9. def designWithChannel: Design

    Permalink

    Create a design for GrpcServer and ManagedChannel.

    Create a design for GrpcServer and ManagedChannel. Useful for testing purpsoe

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. macro def error(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  12. macro def error(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. macro def info(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  15. macro def info(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  16. val interceptors: Seq[ServerInterceptor]

    Permalink
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. macro def logAt(logLevel: LogLevel, message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  19. lazy val logger: Logger

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  20. val name: String

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

    Permalink
    Definition Classes
    AnyRef
  22. def newServer(session: Session): GrpcServer

    Permalink
  23. def noInterceptor: GrpcServerConfig

    Permalink
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  26. lazy val port: Int

    Permalink
  27. val router: Router

    Permalink
  28. val serverInitializer: (ServerBuilder[_]) ⇒ ServerBuilder[_]

    Permalink
  29. def start[U](body: (GrpcServer) ⇒ U): U

    Permalink

    Start a standalone gRPC server and execute the given code block.

    Start a standalone gRPC server and execute the given code block. After exiting the code block, it will stop the gRPC server.

    If you want to keep running the server inside the code block, call server.awaitTermination.

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

    Permalink
    Definition Classes
    AnyRef
  31. macro def trace(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  32. macro def trace(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  33. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. macro def warn(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  37. macro def warn(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  38. def withInterceptor(interceptor: ServerInterceptor): GrpcServerConfig

    Permalink
  39. def withName(name: String): GrpcServerConfig

    Permalink
  40. def withPort(port: Int): GrpcServerConfig

    Permalink
  41. def withRouter(router: Router): GrpcServerConfig

    Permalink
  42. def withServerInitializer(serverInitializer: (ServerBuilder[_]) ⇒ ServerBuilder[_]): GrpcServerConfig

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped