@BetaApi @InternalExtensionOnly public abstract class HttpJsonTransportChannel extends Object implements com.google.api.gax.rpc.TransportChannel
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpJsonTransportChannel.Builder |
| Constructor and Description |
|---|
HttpJsonTransportChannel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
HttpJsonChannel |
getChannel()
The channel in use.
|
HttpJsonCallContext |
getEmptyCallContext() |
static String |
getHttpJsonTransportName()
The name of the Http-JSON transport.
|
abstract ManagedHttpJsonChannel |
getManagedChannel()
The channel in use.
|
String |
getTransportName() |
boolean |
isShutdown() |
boolean |
isTerminated() |
static HttpJsonTransportChannel.Builder |
newBuilder() |
void |
shutdown() |
void |
shutdownNow() |
public static String getHttpJsonTransportName()
public String getTransportName()
getTransportName in interface com.google.api.gax.rpc.TransportChannelpublic HttpJsonCallContext getEmptyCallContext()
getEmptyCallContext in interface com.google.api.gax.rpc.TransportChannelpublic abstract ManagedHttpJsonChannel getManagedChannel()
public HttpJsonChannel getChannel()
public void shutdown()
shutdown in interface com.google.api.gax.core.BackgroundResourcepublic boolean isShutdown()
isShutdown in interface com.google.api.gax.core.BackgroundResourcepublic boolean isTerminated()
isTerminated in interface com.google.api.gax.core.BackgroundResourcepublic void shutdownNow()
shutdownNow in interface com.google.api.gax.core.BackgroundResourcepublic boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
awaitTermination in interface com.google.api.gax.core.BackgroundResourceInterruptedExceptionpublic void close()
close in interface AutoCloseablepublic static HttpJsonTransportChannel.Builder newBuilder()