Package org.eclipse.aether.internal.impl
Class DefaultTransporterProvider
java.lang.Object
org.eclipse.aether.internal.impl.DefaultTransporterProvider
- All Implemented Interfaces:
 TransporterProvider
@Singleton
@Named
public final class DefaultTransporterProvider
extends Object
implements TransporterProvider
- 
Constructor Summary
ConstructorsConstructorDescriptionDefaultTransporterProvider(Map<String, TransporterFactory> transporterFactories)  - 
Method Summary
Modifier and TypeMethodDescriptionnewTransporter(RepositorySystemSession session, RemoteRepository repository) Tries to create a transporter for the specified remote repository. 
- 
Constructor Details
- 
DefaultTransporterProvider
 
 - 
 - 
Method Details
- 
newTransporter
public Transporter newTransporter(RepositorySystemSession session, RemoteRepository repository) throws NoTransporterException Description copied from interface:TransporterProviderTries to create a transporter for the specified remote repository.- Specified by:
 newTransporterin interfaceTransporterProvider- Parameters:
 session- The repository system session from which to configure the transporter, must not benull.repository- The remote repository to create a transporter for, must not benull.- Returns:
 - The transporter for the given repository, never 
null. - Throws:
 NoTransporterException- If none of the installed transporter factories can provide a transporter for the specified remote repository.
 
 -