Class HttpJsonTransportChannel

  • All Implemented Interfaces:
    com.google.api.gax.core.BackgroundResource, com.google.api.gax.rpc.TransportChannel, AutoCloseable

    @InternalExtensionOnly
    public abstract class HttpJsonTransportChannel
    extends Object
    implements com.google.api.gax.rpc.TransportChannel
    Implementation of TransportChannel based on http/json.
    • Constructor Detail

      • HttpJsonTransportChannel

        public HttpJsonTransportChannel()
    • Method Detail

      • getHttpJsonTransportName

        public static String getHttpJsonTransportName()
        The name of the Http-JSON transport.
      • getTransportName

        public String getTransportName()
        Specified by:
        getTransportName in interface com.google.api.gax.rpc.TransportChannel
      • getEmptyCallContext

        public HttpJsonCallContext getEmptyCallContext()
        Specified by:
        getEmptyCallContext in interface com.google.api.gax.rpc.TransportChannel
      • shutdown

        public void shutdown()
        Specified by:
        shutdown in interface com.google.api.gax.core.BackgroundResource
      • isShutdown

        public boolean isShutdown()
        Specified by:
        isShutdown in interface com.google.api.gax.core.BackgroundResource
      • isTerminated

        public boolean isTerminated()
        Specified by:
        isTerminated in interface com.google.api.gax.core.BackgroundResource
      • shutdownNow

        public void shutdownNow()
        Specified by:
        shutdownNow in interface com.google.api.gax.core.BackgroundResource