Package org.apache.maven.internal.impl
Class DefaultTransport
java.lang.Object
org.apache.maven.internal.impl.DefaultTransport
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Transport
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultTransport(URI baseURI, org.eclipse.aether.spi.connector.transport.Transporter transporter) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()booleanGETs the source URI content into target (does not have to exist, or will be overwritten if exist).Optional<byte[]>GETs the source URI content as byte array.GETs the source URI content as string.voidPUTs the source file (must exist as file) to target URI.voidPUTs the source byte array to target URI.voidPUTs the source string to target URI.
- 
Constructor Details- 
DefaultTransportpublic DefaultTransport(URI baseURI, org.eclipse.aether.spi.connector.transport.Transporter transporter) 
 
- 
- 
Method Details- 
getDescription copied from interface:TransportGETs the source URI content into target (does not have to exist, or will be overwritten if exist). The source MUST BE relative from theRemoteRepository.getUrl()root.
- 
getBytesDescription copied from interface:TransportGETs the source URI content as byte array. The source MUST BE relative from theRemoteRepository.getUrl()root.
- 
getStringDescription copied from interface:TransportGETs the source URI content as string. The source MUST BE relative from theRemoteRepository.getUrl()root.
- 
putDescription copied from interface:TransportPUTs the source file (must exist as file) to target URI. The target MUST BE relative from theRemoteRepository.getUrl()root.
- 
putBytesDescription copied from interface:TransportPUTs the source byte array to target URI. The target MUST BE relative from theRemoteRepository.getUrl()root.
- 
putStringDescription copied from interface:TransportPUTs the source string to target URI. The target MUST BE relative from theRemoteRepository.getUrl()root.
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
 
 
-