@Named(value="http") public final class HttpTransporterFactory extends Object implements org.eclipse.aether.spi.connector.transport.TransporterFactory, org.eclipse.aether.spi.locator.Service
http: or https: protocol. The provided transporters
support uploads to WebDAV servers and resumable downloads.| Constructor and Description |
|---|
HttpTransporterFactory()
Creates an (uninitialized) instance of this transporter factory.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getPriority() |
void |
initService(org.eclipse.aether.spi.locator.ServiceLocator locator) |
org.eclipse.aether.spi.connector.transport.Transporter |
newInstance(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.RemoteRepository repository) |
HttpTransporterFactory |
setLoggerFactory(org.eclipse.aether.spi.log.LoggerFactory loggerFactory)
Sets the logger factory to use for this component.
|
HttpTransporterFactory |
setPriority(float priority)
Sets the priority of this component.
|
public HttpTransporterFactory()
public void initService(org.eclipse.aether.spi.locator.ServiceLocator locator)
initService in interface org.eclipse.aether.spi.locator.Servicepublic HttpTransporterFactory setLoggerFactory(org.eclipse.aether.spi.log.LoggerFactory loggerFactory)
loggerFactory - The logger factory to use, may be null to disable logging.null.public float getPriority()
getPriority in interface org.eclipse.aether.spi.connector.transport.TransporterFactorypublic HttpTransporterFactory setPriority(float priority)
priority - The priority.null.public org.eclipse.aether.spi.connector.transport.Transporter newInstance(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.RemoteRepository repository)
throws org.eclipse.aether.transfer.NoTransporterException
newInstance in interface org.eclipse.aether.spi.connector.transport.TransporterFactoryorg.eclipse.aether.transfer.NoTransporterExceptionCopyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.