Class JettyTransporterFactory
java.lang.Object
org.eclipse.aether.transport.jetty.JettyTransporterFactory
- All Implemented Interfaces:
org.eclipse.aether.spi.connector.transport.http.HttpTransporterFactory
,org.eclipse.aether.spi.connector.transport.TransporterFactory
@Named("jetty")
public final class JettyTransporterFactory
extends Object
implements org.eclipse.aether.spi.connector.transport.http.HttpTransporterFactory
A transporter factory for repositories using the
http:
or https:
protocol.- Since:
- 2.0.0
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJettyTransporterFactory
(org.eclipse.aether.spi.connector.transport.http.ChecksumExtractor checksumExtractor, org.eclipse.aether.spi.io.PathProcessor pathProcessor) -
Method Summary
Modifier and TypeMethodDescriptionfloat
org.eclipse.aether.spi.connector.transport.http.HttpTransporter
newInstance
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) setPriority
(float priority)
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
JettyTransporterFactory
@Inject public JettyTransporterFactory(org.eclipse.aether.spi.connector.transport.http.ChecksumExtractor checksumExtractor, org.eclipse.aether.spi.io.PathProcessor pathProcessor)
-
-
Method Details
-
getPriority
- Specified by:
getPriority
in interfaceorg.eclipse.aether.spi.connector.transport.TransporterFactory
-
setPriority
-
newInstance
public org.eclipse.aether.spi.connector.transport.http.HttpTransporter newInstance(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) throws org.eclipse.aether.transfer.NoTransporterException - Specified by:
newInstance
in interfaceorg.eclipse.aether.spi.connector.transport.http.HttpTransporterFactory
- Specified by:
newInstance
in interfaceorg.eclipse.aether.spi.connector.transport.TransporterFactory
- Throws:
org.eclipse.aether.transfer.NoTransporterException
-