t

akka.grpc.scaladsl

InstancePerRequestFactory

trait InstancePerRequestFactory[S] extends AnyRef

Not for user extension, used by generated code.

Internal abstraction for Akka gRPC integration in Akka SDK. Implemented only by the generated ScalaHandlerFactory for Java gRPC service bootstrap when the codegen option generateScalaHandlerFactory is set.

S

the gRPC service type

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

Abstract Value Members

  1. abstract def partialInstancePerRequest(serviceFactory: (HttpRequest) => S, prefix: String, eHandler: PartialFunction[Throwable, Trailers], systemProvider: ClassicActorSystemProvider): PartialFunction[HttpRequest, Future[HttpResponse]]