@Test void attachmentJarURLWithEncodedChars() throws Exception { URL url = new URL(null, "attachmentjar: url.openConnection(); verify(this.arf).resolve("some page"); }
@Override protected URLConnection openConnection(URL url) throws IOException { AttachmentReference attachmentReference = this.attachmentReferenceResolver.resolve( getAttachmentReference(url)); return new AttachmentURLConnection(url, attachmentReference, this.documentAccessBridge); }
AttachmentURLStreamHandler extends URLStreamHandler implements ExtendedURLStreamHandler { @Override protected URLConnection openConnection(URL url) throws IOException { AttachmentReference attachmentReference = this.attachmentReferenceResolver.resolve( getAttachmentReference(url)); return new AttachmentURLConnection(url, attachmentReference, this.documentAccessBridge); } }
AttachmentURLStreamHandler extends URLStreamHandler implements ExtendedURLStreamHandler { @Override protected URLConnection openConnection(URL url) throws IOException { AttachmentReference attachmentReference = this.attachmentReferenceResolver.resolve( getAttachmentReference(url)); return new AttachmentURLConnection(url, attachmentReference, this.documentAccessBridge); }  }
AttachmentURLStreamHandler extends URLStreamHandler implements ExtendedURLStreamHandler { @Override protected URLConnection openConnection(URL url) throws IOException { AttachmentReference attachmentReference = this.attachmentReferenceResolver.resolve( getAttachmentReference(url)); return new AttachmentURLConnection(url, attachmentReference, this.documentAccessBridge); }  @Override String getProtocol(); }
AttachmentURLStreamHandler extends URLStreamHandler implements ExtendedURLStreamHandler { @Override protected URLConnection openConnection(URL url) throws IOException { AttachmentReference attachmentReference = this.attachmentReferenceResolver.resolve( getAttachmentReference(url)); return new AttachmentURLConnection(url, attachmentReference, this.documentAccessBridge); }  @Override String getProtocol();  }