@Named(value="http") public final class HttpTransporterFactory extends Object implements TransporterFactory
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() |
Transporter |
newInstance(RepositorySystemSession session,
RemoteRepository repository) |
HttpTransporterFactory |
setPriority(float priority)
Sets the priority of this component.
|
public HttpTransporterFactory()
public float getPriority()
getPriority in interface TransporterFactorypublic HttpTransporterFactory setPriority(float priority)
priority - The priority.null.public Transporter newInstance(RepositorySystemSession session, RemoteRepository repository) throws NoTransporterException
newInstance in interface TransporterFactoryNoTransporterExceptionCopyright © 2010–2021 The Apache Software Foundation. All rights reserved.