public class HttpResourceHandler extends Object implements org.apache.maven.index.reader.ResourceHandler
ResourceHandler that uses URL to fetch remote content. This implementation does not
handle any advanced cases, like redirects, authentication, etc.| Constructor and Description |
|---|
HttpResourceHandler(URL root) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.maven.index.reader.ResourceHandler.Resource |
locate(String name) |
public HttpResourceHandler(URL root) throws URISyntaxException
URISyntaxExceptionpublic org.apache.maven.index.reader.ResourceHandler.Resource locate(String name) throws IOException
locate in interface org.apache.maven.index.reader.ResourceHandlerIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.