Package org.apache.maven.index
Class Java11HttpClient
java.lang.Object
org.apache.maven.index.Java11HttpClient
- All Implemented Interfaces:
org.apache.maven.index.updater.ResourceFetcher
public class Java11HttpClient
extends Object
implements org.apache.maven.index.updater.ResourceFetcher
ResourceFetcher
backed by Java11 HttpClient to be used in tests.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
-
Constructor Details
-
Java11HttpClient
public Java11HttpClient()
-
-
Method Details
-
connect
- Specified by:
connect
in interfaceorg.apache.maven.index.updater.ResourceFetcher
-
disconnect
public void disconnect()- Specified by:
disconnect
in interfaceorg.apache.maven.index.updater.ResourceFetcher
-
retrieve
- Specified by:
retrieve
in interfaceorg.apache.maven.index.updater.ResourceFetcher
- Throws:
IOException
-