Class InvokeShutdown


  • public class InvokeShutdown
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      InvokeShutdown()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] buildPostData​(java.lang.String token)  
      static java.nio.file.Path getTokenPath()  
      static void installTrustAllCerts()  
      static void main​(java.lang.String[] args)  
      static java.lang.String[] readTokenFile​(java.nio.file.Path tokenPath)  
      static void shutdown​(java.nio.file.Path tokenPath)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InvokeShutdown

        public InvokeShutdown()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getTokenPath

        public static java.nio.file.Path getTokenPath()
      • shutdown

        public static void shutdown​(java.nio.file.Path tokenPath)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • readTokenFile

        public static java.lang.String[] readTokenFile​(java.nio.file.Path tokenPath)
      • buildPostData

        public static byte[] buildPostData​(java.lang.String token)
      • installTrustAllCerts

        public static void installTrustAllCerts()