public interface TransporterFactory
newInstance(RepositorySystemSession, RemoteRepository) on them. The first transporter returned by a factory
 will then be used for the transfer.| Modifier and Type | Method and Description | 
|---|---|
| float | getPriority()The priority of this factory. | 
| Transporter | newInstance(org.eclipse.aether.RepositorySystemSession session,
                      org.eclipse.aether.repository.RemoteRepository repository)Tries to create a transporter for the specified remote repository. | 
Transporter newInstance(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) throws org.eclipse.aether.transfer.NoTransporterException
RemoteRepository.getProtocol() to determine whether it can handle a repository.session - The repository system session from which to configure the transporter, must not be null.
            In particular, a transporter should obey the timeouts configured for the session.repository - The remote repository to create a transporter for, must not be null.null.org.eclipse.aether.transfer.NoTransporterException - If the factory cannot create a transporter for the specified remote repository.float getPriority()
Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.