org.eclipse.aether.spi.connector.transport

## Class PeekTask

- 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:
    `Transporter.peek(PeekTask)`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PeekTask(URI location)` Creates a new task for the specified remote resource.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `toString()`

    - ### Methods inherited from class org.eclipse.aether.spi.connector.transport.TransportTask

      `getListener, getLocation`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### 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 Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.