Package de.hybris.platform.shutdown
Class InvokeShutdown
- java.lang.Object
-
- de.hybris.platform.shutdown.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.PathgetTokenPath()static voidinstallTrustAllCerts()static voidmain(java.lang.String[] args)static java.lang.String[]readTokenFile(java.nio.file.Path tokenPath)static voidshutdown(java.nio.file.Path tokenPath)
-
-
-
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()
-
-