public InstantiatingHttpJsonChannelProvider.Builder setExecutor(Executor executor)
Sets the Executor for this TransportChannelProvider.
This is optional; if it is not provided, needsExecutor() will return true, meaning that an
Executor must be provided when getChannel is called on the constructed
TransportChannelProvider instance. Note: InstantiatingHttpJsonChannelProvider will
automatically provide its own Executor in this circumstance when it calls getChannel.
public InstantiatingHttpJsonChannelProvider.Builder setHeaderProvider(HeaderProvider headerProvider)
Sets the HeaderProvider for this TransportChannelProvider.
This is optional; if it is not provided, needsHeaders() will return true, meaning that
headers must be provided when getChannel is called on the constructed
TransportChannelProvider instance.