@ThreadSafe public final class UpdateCheck extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getLatestVersion(long connectionRequestTimeout,
long connectTimeout,
long socketTimeout) |
static String |
getUserAgentString() |
public static String getLatestVersion(long connectionRequestTimeout, long connectTimeout, long socketTimeout) throws IOException
connectionRequestTimeout
- the connection request timeout for the HTTP request in msconnectTimeout
- the connect timeout for the HTTP request in mssocketTimeout
- the socket timeout for the HTTP request in msIOException
public static String getUserAgentString() throws IOException
IOException
Copyright © 2023. All Rights Reserved.