@Test public void testPath() throws Exception { assertTrue(new LazyUri(new Precoded("http: assertTrue(new LazyUri(new Precoded("http: assertTrue(new LazyUri(new Precoded("http: assertTrue(new LazyUri(new Precoded("http: assertTrue(new LazyUri(new Precoded("http: assertTrue(new LazyUri(new Precoded("http: assertEquals("/", new Text(new LazyUri(new Precoded("http: assertEquals("/test/123", new Text(new LazyUri(new Precoded("http: assertEquals("/", new Text(new LazyUri(new Precoded("http: assertEquals("/test/123", new Text(new LazyUri(new Precoded("http: assertEquals("test@example.com", new Text(new LazyUri(new Precoded("mailto:test@example.com")).path()).toString()); assertEquals("/test/123", new Text(new LazyUri(new Precoded("file: }
@Override public LazyPath path() { if (mPath == null) { mPath = new LazyPath(mUriEncoded.subSequence(mOptionalScheme.parsedLength() + authority().parsedLength(), mUriEncoded.length())); } return mPath; }
LazyUri implements Uri { @Override public LazyPath path() { if (mPath == null) { mPath = new LazyPath(mUriEncoded.subSequence(mOptionalScheme.parsedLength() + authority().parsedLength(), mUriEncoded.length())); } return mPath; } }
LazyUri implements Uri { @Override public LazyPath path() { if (mPath == null) { mPath = new LazyPath(mUriEncoded.subSequence(mOptionalScheme.parsedLength() + authority().parsedLength(), mUriEncoded.length())); } return mPath; } LazyUri(UriEncoded uri); }
LazyUri implements Uri { @Override public LazyPath path() { if (mPath == null) { mPath = new LazyPath(mUriEncoded.subSequence(mOptionalScheme.parsedLength() + authority().parsedLength(), mUriEncoded.length())); } return mPath; } LazyUri(UriEncoded uri); @Override Optional<? extends Scheme> scheme(); @Override OptionalLazyAuthority authority(); @Override LazyPath path(); @Override OptionalLazyQuery query(); @Override Optional<? extends Fragment> fragment(); @Override boolean isHierarchical(); @Override boolean isAbsolute(); }
LazyUri implements Uri { @Override public LazyPath path() { if (mPath == null) { mPath = new LazyPath(mUriEncoded.subSequence(mOptionalScheme.parsedLength() + authority().parsedLength(), mUriEncoded.length())); } return mPath; } LazyUri(UriEncoded uri); @Override Optional<? extends Scheme> scheme(); @Override OptionalLazyAuthority authority(); @Override LazyPath path(); @Override OptionalLazyQuery query(); @Override Optional<? extends Fragment> fragment(); @Override boolean isHierarchical(); @Override boolean isAbsolute();  }