p

akka.grpc

scaladsl

package scaladsl

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package headers

Type Members

  1. trait AkkaGrpcClient extends AnyRef

    Common trait of all generated Akka gRPC clients.

    Common trait of all generated Akka gRPC clients. Not for user extension.

    Annotations
    @DoNotInherit()
  2. case class BytesEntry(value: ByteString) extends MetadataEntry with javadsl.BytesEntry with Product with Serializable

    Represents a binary metadata entry.

    Represents a binary metadata entry.

    value

    The entry value.

  3. trait InstancePerRequestFactory[S] extends AnyRef

    Not for user extension, used by generated code.

    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()
  4. trait Metadata extends AnyRef

    Immutable representation of the metadata in a call

    Immutable representation of the metadata in a call

    Not for user extension

    Annotations
    @ApiMayChange() @DoNotInherit()
  5. class MetadataBuilder extends AnyRef

    This class provides an interface for constructing immutable Metadata instances.

    This class provides an interface for constructing immutable Metadata instances.

    Annotations
    @DoNotInherit() @ApiMayChange()
  6. sealed trait MetadataEntry extends javadsl.MetadataEntry

    Represents a entry (value) in a collection of Metadata.

    Represents a entry (value) in a collection of Metadata.

    Annotations
    @ApiMayChange()
  7. trait MetadataStatus extends Metadata

    Provides access to details to more rich error details using the logical gRPC com.google.rpc.Status message, see [API Design Guide](https://cloud.google.com/apis/design/errors) for more details.

    Provides access to details to more rich error details using the logical gRPC com.google.rpc.Status message, see [API Design Guide](https://cloud.google.com/apis/design/errors) for more details.

    Not for user extension

    Annotations
    @ApiMayChange() @DoNotInherit()
  8. class ScalapbProtobufSerializer[T <: GeneratedMessage] extends ProtobufSerializer[T]
    Annotations
    @ApiMayChange()
  9. trait ServerInterceptor extends AnyRef

    Cross-cutting logic around gRPC service calls, such as authentication, logging or metrics.

    Cross-cutting logic around gRPC service calls, such as authentication, logging or metrics.

    The interceptor runs before the request is unmarshalled. It can reject the call by returning a failed future, for example with a akka.grpc.GrpcServiceException, which is turned into a gRPC error response using the default exception mapping of GrpcExceptionHandler. It can pass information to a Power API service implementation by adding request attributes, which are then available through Metadata.attribute. It can also wrap the response future to observe the outcome of the call.

    The interceptor is called from the server stream and must not block. The request entity is a stream that can only be consumed once, so an interceptor that reads it must not pass the same request to next.

    Errors in streamed responses happen after the response headers are sent and are not visible to interceptors.

    Annotations
    @ApiMayChange()
  10. trait SingleResponseRequestBuilder[Req, Res] extends AnyRef

    Request builder for requests providing per call specific metadata capabilities in addition to the client instance default options provided to it through GrpcClientSettings upon creation.

    Request builder for requests providing per call specific metadata capabilities in addition to the client instance default options provided to it through GrpcClientSettings upon creation.

    Instances are immutable so can be shared and re-used but are backed by the client that created the instance, so if that is stopped the invocations will fail.

    Not for user extension

    Annotations
    @DoNotInherit() @ApiMayChange()
  11. trait StreamResponseRequestBuilder[Req, Res] extends AnyRef

    Request builder for requests providing per call specific metadata capabilities in addition to the client instance default options provided to it through GrpcClientSettings upon creation.

    Request builder for requests providing per call specific metadata capabilities in addition to the client instance default options provided to it through GrpcClientSettings upon creation.

    Instances are immutable so can be shared and re-used but are backed by the client that created the instance, so if that is stopped the invocations will fail.

    Not for user extension

    Annotations
    @DoNotInherit() @ApiMayChange()
  12. case class StringEntry(value: String) extends MetadataEntry with javadsl.StringEntry with Product with Serializable

    Represents a text metadata entry.

    Represents a text metadata entry.

    value

    The entry value.

Value Members

  1. object GrpcExceptionHandler
    Annotations
    @ApiMayChange()
  2. object GrpcMarshalling
  3. object MetadataBuilder
  4. object ServerInterceptor
    Annotations
    @ApiMayChange()
  5. object ServerReflection
    Annotations
    @ApiMayChange()
  6. object ServiceHandler
    Annotations
    @ApiMayChange()
  7. object WebHandler
    Annotations
    @ApiMayChange()

Ungrouped