Class TychoRepositoryTransport

java.lang.Object
org.eclipse.equinox.internal.p2.repository.Transport
org.eclipse.tycho.p2.remote.TychoRepositoryTransport
All Implemented Interfaces:
org.eclipse.equinox.p2.core.spi.IAgentServiceFactory

public class TychoRepositoryTransport extends org.eclipse.equinox.internal.p2.repository.Transport implements org.eclipse.equinox.p2.core.spi.IAgentServiceFactory
  • Constructor Details

  • Method Details

    • download

      public org.eclipse.core.runtime.IStatus download(URI toDownload, OutputStream target, long startPos, org.eclipse.core.runtime.IProgressMonitor monitor)
      Overrides:
      download in class org.eclipse.equinox.internal.p2.repository.Transport
    • download

      public org.eclipse.core.runtime.IStatus download(URI toDownload, OutputStream target, org.eclipse.core.runtime.IProgressMonitor monitor)
      Specified by:
      download in class org.eclipse.equinox.internal.p2.repository.Transport
    • stream

      public InputStream stream(URI toDownload, org.eclipse.core.runtime.IProgressMonitor monitor) throws FileNotFoundException, org.eclipse.core.runtime.CoreException, org.eclipse.equinox.internal.p2.repository.AuthenticationFailedException
      Specified by:
      stream in class org.eclipse.equinox.internal.p2.repository.Transport
      Throws:
      FileNotFoundException
      org.eclipse.core.runtime.CoreException
      org.eclipse.equinox.internal.p2.repository.AuthenticationFailedException
    • getLastModified

      public long getLastModified(URI toDownload, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException, FileNotFoundException, org.eclipse.equinox.internal.p2.repository.AuthenticationFailedException
      Specified by:
      getLastModified in class org.eclipse.equinox.internal.p2.repository.Transport
      Throws:
      org.eclipse.core.runtime.CoreException
      FileNotFoundException
      org.eclipse.equinox.internal.p2.repository.AuthenticationFailedException
    • createService

      public Object createService(org.eclipse.equinox.p2.core.IProvisioningAgent agent)
      Specified by:
      createService in interface org.eclipse.equinox.p2.core.spi.IAgentServiceFactory
    • getHttpCache

      public SharedHttpCacheStorage getHttpCache()
    • getCachedFile

      public File getCachedFile(URI remoteFile) throws IOException
      Throws:
      IOException
    • isHttp

      public static boolean isHttp(URI remoteFile)