Package org.apache.maven.index.reader
Class HttpResourceHandler
java.lang.Object
org.apache.maven.index.reader.HttpResourceHandler
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.maven.index.reader.ResourceHandler
public class HttpResourceHandler
extends Object
implements org.apache.maven.index.reader.ResourceHandler
A trivial HTTP
ResourceHandler
that uses URI
to fetch remote content. This implementation does not
handle any advanced cases, like redirects, authentication, etc.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.maven.index.reader.ResourceHandler
org.apache.maven.index.reader.ResourceHandler.Resource
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.index.reader.ResourceHandler
close
-
Constructor Details
-
HttpResourceHandler
-
-
Method Details
-
locate
- Specified by:
locate
in interfaceorg.apache.maven.index.reader.ResourceHandler
-