@Test public void testParseAbsolute() { final Host host = new Host(new TestProtocol()); final String path = "/path/sub/directory"; final HostParser.StringReader reader = new HostParser.StringReader(path); HostParser.parseAbsolute(reader, host); assertEquals(path, host.getDefaultPath()); }
static void parseAbsolute(final StringReader reader, final Host host) { parsePath(reader, host, true); }
HostParser { static void parseAbsolute(final StringReader reader, final Host host) { parsePath(reader, host, true); } }
HostParser { static void parseAbsolute(final StringReader reader, final Host host) { parsePath(reader, host, true); } HostParser();  HostParser(final ProtocolFactory factory);  HostParser(final ProtocolFactory factory, final Protocol defaultScheme); }
HostParser { static void parseAbsolute(final StringReader reader, final Host host) { parsePath(reader, host, true); } HostParser();  HostParser(final ProtocolFactory factory);  HostParser(final ProtocolFactory factory, final Protocol defaultScheme); Host get(final String url); static Host parse(final String url); }
HostParser { static void parseAbsolute(final StringReader reader, final Host host) { parsePath(reader, host, true); } HostParser();  HostParser(final ProtocolFactory factory);  HostParser(final ProtocolFactory factory, final Protocol defaultScheme); Host get(final String url); static Host parse(final String url);  }