Package | Description |
---|---|
io.grpc.stub |
API for the Stub layer.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStub<S extends AbstractStub<S>>
Common base type for stub implementations.
|
Modifier and Type | Method and Description |
---|---|
static <T extends AbstractStub<T>> |
MetadataUtils.attachHeaders(T stub,
Metadata extraHeaders)
Attaches a set of request headers to a stub.
|
static <T extends AbstractStub<T>> |
MetadataUtils.captureMetadata(T stub,
AtomicReference<Metadata> headersCapture,
AtomicReference<Metadata> trailersCapture)
Captures the last received metadata for a stub.
|
Copyright © 2018. All rights reserved.