public class AetherClientResourceFetcher
extends java.lang.Object
implements org.apache.maven.index.updater.ResourceFetcher
Modifier and Type | Class and Description |
---|---|
(package private) class |
AetherClientResourceFetcher.AetherClientConfigAdapter |
Modifier and Type | Field and Description |
---|---|
private io.takari.aether.client.AetherClient |
aetherClient |
private org.apache.maven.wagon.authentication.AuthenticationInfo |
authInfo |
private java.lang.String |
baseUrl |
private org.eclipse.core.runtime.IProgressMonitor |
monitor |
private org.apache.maven.wagon.proxy.ProxyInfo |
proxyInfo |
private java.lang.String |
userAgent |
Constructor and Description |
---|
AetherClientResourceFetcher(org.apache.maven.wagon.authentication.AuthenticationInfo authInfo,
org.apache.maven.wagon.proxy.ProxyInfo proxyInfo,
org.eclipse.core.runtime.IProgressMonitor monitor) |
Modifier and Type | Method and Description |
---|---|
void |
connect(java.lang.String id,
java.lang.String url) |
void |
disconnect() |
java.io.InputStream |
retrieve(java.lang.String name) |
void |
retrieve(java.lang.String name,
java.io.File targetFile)
Deprecated.
|
private io.takari.aether.client.AetherClient aetherClient
private final org.apache.maven.wagon.authentication.AuthenticationInfo authInfo
private final org.apache.maven.wagon.proxy.ProxyInfo proxyInfo
private final java.lang.String userAgent
private final org.eclipse.core.runtime.IProgressMonitor monitor
private java.lang.String baseUrl
public AetherClientResourceFetcher(org.apache.maven.wagon.authentication.AuthenticationInfo authInfo, org.apache.maven.wagon.proxy.ProxyInfo proxyInfo, org.eclipse.core.runtime.IProgressMonitor monitor)
public void connect(java.lang.String id, java.lang.String url)
connect
in interface org.apache.maven.index.updater.ResourceFetcher
public void disconnect() throws java.io.IOException
disconnect
in interface org.apache.maven.index.updater.ResourceFetcher
java.io.IOException
@Deprecated public void retrieve(java.lang.String name, java.io.File targetFile) throws java.io.IOException, java.io.FileNotFoundException
java.io.IOException
java.io.FileNotFoundException
public java.io.InputStream retrieve(java.lang.String name) throws java.io.IOException, java.io.FileNotFoundException
retrieve
in interface org.apache.maven.index.updater.ResourceFetcher
java.io.IOException
java.io.FileNotFoundException