Interface HttpTransporterFactory

All Superinterfaces:
TransporterFactory

A factory for HttpTransporter.
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    newInstance(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository)
    Tries to create HTTP transporter for the specified remote repository.

    Methods inherited from interface org.eclipse.aether.spi.connector.transport.TransporterFactory

    getPriority
  • Method Details

    • newInstance

      HttpTransporter newInstance(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) throws org.eclipse.aether.transfer.NoTransporterException
      Tries to create HTTP transporter for the specified remote repository.
      Specified by:
      newInstance in interface TransporterFactory
      Parameters:
      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.
      Returns:
      The transporter for the given repository, never null.
      Throws:
      org.eclipse.aether.transfer.NoTransporterException - If the factory cannot create a transporter for the specified remote repository.