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 java.lang.Object implements ProtocolNegotiator.ClientFactory
-
-
Constructor Summary
Constructors Modifier Constructor Description privatePlaintextUpgradeProtocolNegotiatorClientFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDefaultPort()Returns the implicit port to use if no port was specified explicitly by the user.ProtocolNegotiatornewNegotiator()Creates a new negotiator.
-
-
-
Method Detail
-
newNegotiator
public ProtocolNegotiator newNegotiator()
Description copied from interface:ProtocolNegotiator.ClientFactoryCreates a new negotiator.- Specified by:
newNegotiatorin interfaceProtocolNegotiator.ClientFactory
-
getDefaultPort
public int getDefaultPort()
Description copied from interface:ProtocolNegotiator.ClientFactoryReturns the implicit port to use if no port was specified explicitly by the user.- Specified by:
getDefaultPortin interfaceProtocolNegotiator.ClientFactory
-
-