akka.grpc.javadsl

Type members

Classlikes

@DoNotInherit

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

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

Source:
AkkaGrpcClient.scala
@DoNotInherit

Represents a binary metadata entry.

Represents a binary metadata entry.

Source:
MetadataEntry.scala
@ApiMayChange
class GoogleProtobufSerializer[T <: Message](parser: Parser[T]) extends ProtobufSerializer[T]
@DoNotInherit @ApiMayChange
trait Metadata

Immutable representation of the metadata in a call

Immutable representation of the metadata in a call

Not for user extension

Source:
Metadata.scala
@ApiMayChange

This class provides an interface for constructing immutable Metadata instances.

This class provides an interface for constructing immutable Metadata instances.

Companion:
object
Source:
MetadataBuilder.scala
@ApiMayChange
@DoNotInherit @ApiMayChange

Represents metadata entry.

Represents metadata entry.

Source:
MetadataEntry.scala
@ApiMayChange @DoNotInherit
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 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 for more details.

Not for user extension

Source:
Metadata.scala
@ApiMayChange(issue = "https://github.com/akka/akka-grpc/issues/850")
@ApiMayChange
@DoNotInherit @ApiMayChange

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

Source:
RequestBuilder.scala
@DoNotInherit @ApiMayChange

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

Source:
RequestBuilder.scala
@DoNotInherit

Represents a text metadata entry.

Represents a text metadata entry.

Source:
MetadataEntry.scala
@ApiMayChange
object WebHandler

Value members

Concrete methods

def japiFunction[A, B](f: A => B): Function[A, B]

Helper for creating akka.japi.function.Function instances from Scala functions as Scala 2.11 does not know about SAMs.

Helper for creating akka.japi.function.Function instances from Scala functions as Scala 2.11 does not know about SAMs.

Source:
package.scala
def javaFunction[A, B](f: A => B): Function[A, B]

Helper for creating java.util.function.Function instances from Scala functions as Scala 2.11 does not know about SAMs.

Helper for creating java.util.function.Function instances from Scala functions as Scala 2.11 does not know about SAMs.

Source:
package.scala
def scalaAnonymousPartialFunction[A, B, C](f: Function[A, Function[B, C]]): A => PartialFunction[B, C]

Helper for creating Scala anonymous partial functions from akka.japi.Function instances as Scala 2.11 does not know about SAMs.

Helper for creating Scala anonymous partial functions from akka.japi.Function instances as Scala 2.11 does not know about SAMs.

Source:
package.scala
def scalaPartialFunction[A, B](f: Function[A, B]): PartialFunction[A, B]

Helper for creating Scala partial functions from akka.japi.Function instances as Scala 2.11 does not know about SAMs.

Helper for creating Scala partial functions from akka.japi.Function instances as Scala 2.11 does not know about SAMs.

Source:
package.scala