public class HTTPSUtil extends Object
Constructor and Description |
---|
HTTPSUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
checkHTTPSSupport(LogService log)
Calls
secureURL to check whether the HTTPS certificate can be handled by the JVM. |
static String |
fixImageJUserSiteProtocol(String url)
This method returns ImageJ user site URLs in the correct protocol (HTTPS or HTTPS), depending on what's supported.
|
static String |
getProtocol() |
static boolean |
hasImageJUserSiteProtocolUpdates(FilesCollection plugins) |
static boolean |
noConnection() |
static boolean |
supportsHTTPS() |
static boolean |
supportsURLProtocol(String url) |
static String |
userSiteConvertToHTTP(String url) |
public static void checkHTTPSSupport(LogService log)
secureURL
to check whether the HTTPS certificate can be handled by the JVM.public static boolean supportsHTTPS()
public static boolean noConnection()
public static String getProtocol()
public static String fixImageJUserSiteProtocol(String url)
public static boolean supportsURLProtocol(String url)
public static boolean hasImageJUserSiteProtocolUpdates(FilesCollection plugins)
Copyright © 2014–2022 ImageJ. All rights reserved.