Package org.apache.maven.index
Class Java11HttpClient
java.lang.Object
org.apache.maven.index.Java11HttpClient
- All Implemented Interfaces:
ResourceFetcher
ResourceFetcher backed by Java11 HttpClient to be used in tests.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoid
-
Constructor Details
-
Java11HttpClient
public Java11HttpClient()
-
-
Method Details
-
connect
- Specified by:
connectin interfaceResourceFetcher
-
disconnect
public void disconnect()- Specified by:
disconnectin interfaceResourceFetcher
-
retrieve
- Specified by:
retrievein interfaceResourceFetcher- Throws:
IOException
-