abstract class GrpcGatewayHandler extends ChannelInboundHandlerAdapter with PathMatchingSupport
- Annotations
- @Sharable()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GrpcGatewayHandler
- PathMatchingSupport
- ChannelInboundHandlerAdapter
- ChannelInboundHandler
- ChannelHandlerAdapter
- ChannelHandler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new GrpcGatewayHandler(channel: ManagedChannel)(implicit ec: ExecutionContext)
Abstract Value Members
- abstract def dispatchCall(method: HttpMethod, uri: String, body: String): Future[GeneratedMessage]
Makes gRPC call.
Makes gRPC call.
- method
HTTP method
- uri
current URI
- body
request body
- returns
result of the gRPC call
- Attributes
- protected
- abstract val httpMethodsToUrisMap: Map[String, Seq[String]]
- Attributes
- protected
- Definition Classes
- PathMatchingSupport
- abstract val serviceName: String
Name of the service
- abstract val specificationName: String
Name of OpenAPI yaml file (without extension) which contains OpenAPI specification for this service.
Name of OpenAPI yaml file (without extension) which contains OpenAPI specification for this service. This would be the name of the proto file.
Concrete 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 channelActive(arg0: ChannelHandlerContext): Unit
- Definition Classes
- ChannelInboundHandlerAdapter → ChannelInboundHandler
- Annotations
- @throws(classOf[java.lang.Exception]) @Skip()
- def channelInactive(arg0: ChannelHandlerContext): Unit
- Definition Classes
- ChannelInboundHandlerAdapter → ChannelInboundHandler
- Annotations
- @throws(classOf[java.lang.Exception]) @Skip()
- def channelRead(ctx: ChannelHandlerContext, msg: Any): Unit
- Definition Classes
- GrpcGatewayHandler → ChannelInboundHandlerAdapter → ChannelInboundHandler
- def channelReadComplete(arg0: ChannelHandlerContext): Unit
- Definition Classes
- ChannelInboundHandlerAdapter → ChannelInboundHandler
- Annotations
- @throws(classOf[java.lang.Exception]) @Skip()
- def channelRegistered(arg0: ChannelHandlerContext): Unit
- Definition Classes
- ChannelInboundHandlerAdapter → ChannelInboundHandler
- Annotations
- @throws(classOf[java.lang.Exception]) @Skip()
- def channelUnregistered(arg0: ChannelHandlerContext): Unit
- Definition Classes
- ChannelInboundHandlerAdapter → ChannelInboundHandler
- Annotations
- @throws(classOf[java.lang.Exception]) @Skip()
- def channelWritabilityChanged(arg0: ChannelHandlerContext): Unit
- Definition Classes
- ChannelInboundHandlerAdapter → ChannelInboundHandler
- Annotations
- @throws(classOf[java.lang.Exception]) @Skip()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def ensureNotSharable(): Unit
- Attributes
- protected[io.netty.channel]
- Definition Classes
- ChannelHandlerAdapter
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exceptionCaught(arg0: ChannelHandlerContext, arg1: Throwable): Unit
- Definition Classes
- ChannelInboundHandlerAdapter → ChannelInboundHandler → ChannelHandlerAdapter → ChannelHandler
- Annotations
- @throws(classOf[java.lang.Exception]) @Skip()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def handlerAdded(arg0: ChannelHandlerContext): Unit
- Definition Classes
- ChannelHandlerAdapter → ChannelHandler
- Annotations
- @throws(classOf[java.lang.Exception])
- def handlerRemoved(arg0: ChannelHandlerContext): Unit
- Definition Classes
- ChannelHandlerAdapter → ChannelHandler
- Annotations
- @throws(classOf[java.lang.Exception])
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSharable(): Boolean
- Definition Classes
- ChannelHandlerAdapter
- def isSupportedCall(configuredMethodName: String, configuredPath: String, runtimeMethodName: String, runtimePath: String): Boolean
- Attributes
- protected
- Definition Classes
- PathMatchingSupport
- val logger: Logger
- Attributes
- protected
- def mergeParameters(configuredPath: String, queryString: QueryStringDecoder): Map[String, Seq[String]]
- Attributes
- protected
- Definition Classes
- PathMatchingSupport
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def shutdown(): Unit
- def supportsCall(method: HttpMethod, uri: String): Boolean
Determine whether current HTTP
method
anduri
are supported.Determine whether current HTTP
method
anduri
are supported. Any given operation is supported if and only ifgoogle.api.http
option is defined and gRPC function is unary (no streaming, either client or server).- method
HTTP method
- uri
current URI
- returns
true if supported, false otherwise
- Attributes
- protected
- Definition Classes
- PathMatchingSupport
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def userEventTriggered(arg0: ChannelHandlerContext, arg1: AnyRef): Unit
- Definition Classes
- ChannelInboundHandlerAdapter → ChannelInboundHandler
- Annotations
- @throws(classOf[java.lang.Exception]) @Skip()
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)