Package io.grpc.netty
Class ProtocolNegotiators.PlaintextUpgradeProtocolNegotiatorClientFactory
java.lang.Object
io.grpc.netty.ProtocolNegotiators.PlaintextUpgradeProtocolNegotiatorClientFactory
- All Implemented Interfaces:
ProtocolNegotiator.ClientFactory
- Enclosing class:
ProtocolNegotiators
private static final class ProtocolNegotiators.PlaintextUpgradeProtocolNegotiatorClientFactory
extends Object
implements ProtocolNegotiator.ClientFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the implicit port to use if no port was specified explicitly by the user.Creates a new negotiator.
-
Constructor Details
-
PlaintextUpgradeProtocolNegotiatorClientFactory
private PlaintextUpgradeProtocolNegotiatorClientFactory()
-
-
Method Details
-
newNegotiator
Description copied from interface:ProtocolNegotiator.ClientFactory
Creates a new negotiator.- Specified by:
newNegotiator
in interfaceProtocolNegotiator.ClientFactory
-
getDefaultPort
public int getDefaultPort()Description copied from interface:ProtocolNegotiator.ClientFactory
Returns the implicit port to use if no port was specified explicitly by the user.- Specified by:
getDefaultPort
in interfaceProtocolNegotiator.ClientFactory
-