Applications can add common cross-cutting behaviors to stubs by decorating Channel
implementations using ClientInterceptor. It is expected that most application
code will not use this class directly but rather work with stubs that have been bound to a
Channel that was decorated during application initialization.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract String | |
| public abstract <RequestT, ResponseT> ClientCall | Returns: aClientCall bound to the specified method.describes the name and parameter types of the operation to call. methodDescriptor, CallOptions runtime options to be applied to this call. callOptions)Create a |
| Channel | back to summary |
|---|---|
| public Channel() | |
| authority | back to summary |
|---|---|
| public abstract String authority() The authority of the destination this channel connects to. Typically this is in the format
| |
| newCall | back to summary |
|---|---|
| public abstract <RequestT, ResponseT> ClientCall Create a
| |