java.lang.Object
org.eclipse.aether.spi.connector.transport.TransportTask
org.eclipse.aether.spi.connector.transport.PeekTask

public final class PeekTask extends TransportTask
A task to check the existence of a resource in the remote repository. Note: The listener returned from TransportTask.getListener() is always a noop given that none of its event methods are relevant in context of this task.
See Also:
  • Constructor Details

    • PeekTask

      public PeekTask(URI location)
      Creates a new task for the specified remote resource.
      Parameters:
      location - The relative location of the resource in the remote repository, must not be null.
  • Method Details