HttpClientConnector extends AbstractClientConnector<HttpClientChannel> { @Override public String toString() { return endpointUri.toString(); } HttpClientConnector(String hostNameAndPort, String servicePath);  HttpClientConnector(URI uri);  HttpClientConnector(String hostNameAndPort, String servicePath, TDuplexProtocolFactory protocolFactory);  HttpClientConnector(URI uri, TDuplexProtocolFactory protocolFactory); @Override HttpClientChannel newThriftClientChannel(Channel nettyChannel, NettyClientConfig clientConfig); @Override ChannelPipelineFactory newChannelPipelineFactory(final int maxFrameSize, NettyClientConfig clientConfig); @Override String toString();  }
@Test public void testHostNameAndPortWithServicePath() throws URISyntaxException { HttpClientConnector connector = new HttpClientConnector("good.com:1234", "/foo"); assertEquals(connector.toString(), "http: }
@Test public void testHostNameAndDefaultPortWithServicePath() throws URISyntaxException { HttpClientConnector connector = new HttpClientConnector("good.com", "/foo"); assertEquals(connector.toString(), "http: }