package scaladsl
- Alphabetic
- Public
- Protected
Type Members
- 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()
- 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.
- 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()
- 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()
- 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()
- 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()
- 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()
- class ScalapbProtobufSerializer[T <: GeneratedMessage] extends ProtobufSerializer[T]
- Annotations
- @ApiMayChange()
- 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()
- 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()
- 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()
- 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
- object GrpcExceptionHandler
- Annotations
- @ApiMayChange()
- object GrpcMarshalling
- object MetadataBuilder
- object ServerInterceptor
- Annotations
- @ApiMayChange()
- object ServerReflection
- Annotations
- @ApiMayChange()
- object ServiceHandler
- Annotations
- @ApiMayChange()
- object WebHandler
- Annotations
- @ApiMayChange()