Packages

package handlers

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. handlers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract class GrpcGatewayHandler extends ChannelInboundHandlerAdapter with PathMatchingSupport
    Annotations
    @Sharable()
  2. class MethodNotFoundHandler extends ChannelInboundHandlerAdapter
  3. trait PathMatchingSupport extends AnyRef

    Helper trait to make URI path matching.

    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:

    1. When there is no path element, this is easy case we can have exact match, for example, /v1/messages.
    2. 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.
  4. class SwaggerHandler extends ChannelInboundHandlerAdapter
    Annotations
    @Sharable()

Value Members

  1. val GRPC_HTTP_CODE_MAP: Map[Int, HttpResponseStatus]
  2. def buildFullHttpResponse(requestMsg: HttpMessage, responseBody: String, responseStatus: HttpResponseStatus, responseContentType: String): FullHttpResponse
  3. object SwaggerHandler

Inherited from AnyRef

Inherited from Any

Ungrouped