com.improving.grpc_rest_gateway.runtime.handlers
Members list
Type members
Classlikes
           @ChannelHandler$$Sharable 
          
          
            abstract class GrpcGatewayHandler(channel: ManagedChannel)(implicit ec: ExecutionContext) extends ChannelInboundHandlerAdapter, PathMatchingSupport
           
          Attributes
- Supertypes
 - 
               trait PathMatchingSupportclass ChannelInboundHandlerAdaptertrait ChannelInboundHandlerclass ChannelHandlerAdaptertrait ChannelHandlerclass Objecttrait Matchableclass AnyShow all
 
            class MethodNotFoundHandler extends ChannelInboundHandlerAdapter
           
          Attributes
- Supertypes
 - 
               class ChannelInboundHandlerAdaptertrait ChannelInboundHandlerclass ChannelHandlerAdaptertrait ChannelHandlerclass Objecttrait Matchableclass AnyShow all
 
            trait PathMatchingSupport
           
          Helper trait to make URI path matching. This is done to make testing easier.
Helper trait to make URI path matching. This is done to make testing easier.
Our aim is to match given incoming URL and match it to configured path in the protobuf.
There are two cases:
- When there is no path element, this is easy case we can have exact match, for example, 
/v1/messages. - When there is path element, we can not have exact match just by comparing two strings, for example, if configured value is 
/v1/messages/{message_id}/users/{user_id}and runtime value is/v1/messages/1/users/1. 
Attributes
- Supertypes
 - 
               class Objecttrait Matchableclass Any
 - Known subtypes
 - 
               class GrpcGatewayHandler
 
            object SwaggerHandler
           
          Attributes
- Companion
 - class
 - Supertypes
 - 
               class Objecttrait Matchableclass Any
 - Self type
 - 
               SwaggerHandler.type
 
           @ChannelHandler$$Sharable 
          
          
            class SwaggerHandler(services: Seq[GrpcGatewayHandler]) extends ChannelInboundHandlerAdapter
           
          Attributes
- Companion
 - object
 - Supertypes
 - 
               class ChannelInboundHandlerAdaptertrait ChannelInboundHandlerclass ChannelHandlerAdaptertrait ChannelHandlerclass Objecttrait Matchableclass AnyShow all
 
Value members
Concrete methods
            def buildFullHttpResponse(requestMsg: HttpMessage, responseBody: String, responseStatus: HttpResponseStatus, responseContentType: String): FullHttpResponse
           
          Concrete fields
In this article