o

akka.projection.grpc.internal.proto

EventProducerServiceHandler

object EventProducerServiceHandler

Annotations
@ApiMayChange() @AkkaGrpcGenerated()
Source
EventProducerServiceHandler.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventProducerServiceHandler
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(implementation: EventProducerService, prefix: String, eHandler: (ActorSystem) => PartialFunction[Throwable, Trailers])(implicit system: ClassicActorSystemProvider): (HttpRequest) => Future[HttpResponse]

    Creates a HttpRequest to HttpResponse handler that can be used in for example Http().bindAndHandleAsync for the generated partial function handler and ends with StatusCodes.NotFound if the request is not matching.

    Creates a HttpRequest to HttpResponse handler that can be used in for example Http().bindAndHandleAsync for the generated partial function handler and ends with StatusCodes.NotFound if the request is not matching.

    Use akka.grpc.scaladsl.ServiceHandler.concatOrNotFound with EventProducerServiceHandler.partial when combining several services.

    Registering a gRPC service under a custom prefix is not widely supported and strongly discouraged by the specification.

  2. def apply(implementation: EventProducerService, prefix: String)(implicit system: ClassicActorSystemProvider): (HttpRequest) => Future[HttpResponse]

    Creates a HttpRequest to HttpResponse handler that can be used in for example Http().bindAndHandleAsync for the generated partial function handler and ends with StatusCodes.NotFound if the request is not matching.

    Creates a HttpRequest to HttpResponse handler that can be used in for example Http().bindAndHandleAsync for the generated partial function handler and ends with StatusCodes.NotFound if the request is not matching.

    Use akka.grpc.scaladsl.ServiceHandler.concatOrNotFound with EventProducerServiceHandler.partial when combining several services.

    Registering a gRPC service under a custom prefix is not widely supported and strongly discouraged by the specification.

  3. def apply(implementation: EventProducerService, eHandler: (ActorSystem) => PartialFunction[Throwable, Trailers])(implicit system: ClassicActorSystemProvider): (HttpRequest) => Future[HttpResponse]

    Creates a HttpRequest to HttpResponse handler that can be used in for example Http().bindAndHandleAsync for the generated partial function handler and ends with StatusCodes.NotFound if the request is not matching.

    Creates a HttpRequest to HttpResponse handler that can be used in for example Http().bindAndHandleAsync for the generated partial function handler and ends with StatusCodes.NotFound if the request is not matching.

    Use akka.grpc.scaladsl.ServiceHandler.concatOrNotFound with EventProducerServiceHandler.partial when combining several services.

  4. def apply(implementation: EventProducerService)(implicit system: ClassicActorSystemProvider): (HttpRequest) => Future[HttpResponse]

    Creates a HttpRequest to HttpResponse handler that can be used in for example Http().bindAndHandleAsync for the generated partial function handler and ends with StatusCodes.NotFound if the request is not matching.

    Creates a HttpRequest to HttpResponse handler that can be used in for example Http().bindAndHandleAsync for the generated partial function handler and ends with StatusCodes.NotFound if the request is not matching.

    Use akka.grpc.scaladsl.ServiceHandler.concatOrNotFound with EventProducerServiceHandler.partial when combining several services.

  5. def partial(implementation: EventProducerService, prefix: String = EventProducerService.name, eHandler: (ActorSystem) => PartialFunction[Throwable, Trailers] = GrpcExceptionHandler.defaultMapper)(implicit system: ClassicActorSystemProvider): PartialFunction[HttpRequest, Future[HttpResponse]]

    Creates a partial HttpRequest to HttpResponse handler that can be combined with handlers of other services with akka.grpc.scaladsl.ServiceHandler.concatOrNotFound and then used in for example Http().bindAndHandleAsync.

    Creates a partial HttpRequest to HttpResponse handler that can be combined with handlers of other services with akka.grpc.scaladsl.ServiceHandler.concatOrNotFound and then used in for example Http().bindAndHandleAsync.

    Use EventProducerServiceHandler.apply if the server is only handling one service.

    Registering a gRPC service under a custom prefix is not widely supported and strongly discouraged by the specification.

  6. def withServerReflection(implementation: EventProducerService)(implicit system: ClassicActorSystemProvider): (HttpRequest) => Future[HttpResponse]

    Creates a HttpRequest to HttpResponse handler that can be used in for example Http().bindAndHandleAsync for the generated partial function handler.

    Creates a HttpRequest to HttpResponse handler that can be used in for example Http().bindAndHandleAsync for the generated partial function handler. The generated handler falls back to a reflection handler for EventProducerService and ends with StatusCodes.NotFound if the request is not matching.

    Use akka.grpc.scaladsl.ServiceHandler.concatOrNotFound with EventProducerServiceHandler.partial when combining several services.