uk.ac.starlink.auth

## Class Get

- java.lang.Object
- - uk.ac.starlink.auth.Get

-     public class Get
      extends java.lang.Object

  Retrieves a resource from a URL using the authentication system.

  This utility may be useful on its own, but it also forms a template for other applications that wish to use the AUTH package.

  This class is used via its main() method. For usage information, invoke it with the `-help` flag.

  Since:
    15 May 2024

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Get()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(java.lang.String[] args)`
    `static boolean` | `runMain(java.lang.String[] args)` Does the work for the main method.

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

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

- - ### Constructor Detail

    - #### Get

          public Get()

  - ### Method Detail

    - #### main

          public static void main(java.lang.String[] args)
                           throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### runMain

          public static boolean runMain(java.lang.String[] args)
                                 throws java.io.IOException

      Does the work for the main method.
      Parameters:
        `args` - command-line arguments
      Returns:
        true for successful completion, false for error
      Throws:
        `java.io.IOException`