@Test public void failInvalidAuthority() { thrown.expect(IllegalArgumentException.class); thrown.expectMessage("Invalid host or port"); NettyChannelBuilder.forAddress(new InetSocketAddress("invalid_authority", 1234)); }
public static NettyChannelBuilder forAddress(SocketAddress serverAddress) { return new NettyChannelBuilder(serverAddress); }
NettyChannelBuilder extends AbstractManagedChannelImplBuilder<NettyChannelBuilder> { public static NettyChannelBuilder forAddress(SocketAddress serverAddress) { return new NettyChannelBuilder(serverAddress); } }
NettyChannelBuilder extends AbstractManagedChannelImplBuilder<NettyChannelBuilder> { public static NettyChannelBuilder forAddress(SocketAddress serverAddress) { return new NettyChannelBuilder(serverAddress); } protected  NettyChannelBuilder(String host, int port); protected  NettyChannelBuilder(String target); protected  NettyChannelBuilder(SocketAddress address); }
NettyChannelBuilder extends AbstractManagedChannelImplBuilder<NettyChannelBuilder> { public static NettyChannelBuilder forAddress(SocketAddress serverAddress) { return new NettyChannelBuilder(serverAddress); } protected  NettyChannelBuilder(String host, int port); protected  NettyChannelBuilder(String target); protected  NettyChannelBuilder(SocketAddress address); static NettyChannelBuilder forAddress(SocketAddress serverAddress); static NettyChannelBuilder forAddress(String host, int port); static NettyChannelBuilder forTarget(String target); final NettyChannelBuilder channelType(Class<? extends Channel> channelType); final NettyChannelBuilder negotiationType(NegotiationType type); @Internal final NettyChannelBuilder protocolNegotiator(
          @Nullable ProtocolNegotiator protocolNegotiator); final NettyChannelBuilder eventLoopGroup(@Nullable EventLoopGroup eventLoopGroup); final NettyChannelBuilder sslContext(SslContext sslContext); final NettyChannelBuilder flowControlWindow(int flowControlWindow); final NettyChannelBuilder maxMessageSize(int maxMessageSize); final NettyChannelBuilder maxHeaderListSize(int maxHeaderListSize); @Override final NettyChannelBuilder usePlaintext(boolean skipNegotiation); }
NettyChannelBuilder extends AbstractManagedChannelImplBuilder<NettyChannelBuilder> { public static NettyChannelBuilder forAddress(SocketAddress serverAddress) { return new NettyChannelBuilder(serverAddress); } protected  NettyChannelBuilder(String host, int port); protected  NettyChannelBuilder(String target); protected  NettyChannelBuilder(SocketAddress address); static NettyChannelBuilder forAddress(SocketAddress serverAddress); static NettyChannelBuilder forAddress(String host, int port); static NettyChannelBuilder forTarget(String target); final NettyChannelBuilder channelType(Class<? extends Channel> channelType); final NettyChannelBuilder negotiationType(NegotiationType type); @Internal final NettyChannelBuilder protocolNegotiator(
          @Nullable ProtocolNegotiator protocolNegotiator); final NettyChannelBuilder eventLoopGroup(@Nullable EventLoopGroup eventLoopGroup); final NettyChannelBuilder sslContext(SslContext sslContext); final NettyChannelBuilder flowControlWindow(int flowControlWindow); final NettyChannelBuilder maxMessageSize(int maxMessageSize); final NettyChannelBuilder maxHeaderListSize(int maxHeaderListSize); @Override final NettyChannelBuilder usePlaintext(boolean skipNegotiation); static final int DEFAULT_FLOW_CONTROL_WINDOW; }