Searched refs:getHostText (Results 1 – 3 of 3) sorted by relevance
133 assertEquals(expectHost, hp.getHostText()); in checkFromStringCase()145 assertEquals(expectHost, hp2.getHostText()); in checkFromStringCase()151 assertEquals("gmail.com", hp.getHostText()); in testFromParts()170 assertEquals("gmail.com", hp.getHostText()); in testFromHost()174 assertEquals("::1", hp.getHostText()); in testFromHost()217 assertEquals("::1", HostAndPort.fromString("[::1]").requireBracketsForIPv6().getHostText()); in testRequireBracketsForIPv6()218 assertEquals("::1", HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHostText()); in testRequireBracketsForIPv6()220 assertEquals("x", HostAndPort.fromString("x").requireBracketsForIPv6().getHostText()); in testRequireBracketsForIPv6()221 assertEquals("x", HostAndPort.fromString("x:80").requireBracketsForIPv6().getHostText()); in testRequireBracketsForIPv6()
80 final String host = parsedHost.getHostText(); in fromValid()
93 public String getHostText() { in getHostText() method in HostAndPort