public class HttpClientUtils
public static HttpClientUtils INSTANCE
@NotNull public kotlin.text.Regex getURL_REGEX()
@JvmOverloads
@NotNull
public java.net.URI buildUrl(@NotNull
java.lang.String baseUrl,
@NotNull
java.lang.String url,
boolean encodePath)
Constructs a URI from a base URL plus a URL path
baseUrl - The base URL for relative paths. If using absolute URLs, pass an empty stringurl - The URL. If a path, it will be relative to the base URLencodePath - If the path should be URI encoded, defaults to true@JvmOverloads
@NotNull
public java.net.URI buildUrl(@NotNull
java.lang.String baseUrl,
@NotNull
java.lang.String url)
Constructs a URI from a base URL plus a URL path
baseUrl - The base URL for relative paths. If using absolute URLs, pass an empty stringurl - The URL. If a path, it will be relative to the base URLpublic boolean isJsonResponse(@NotNull
org.apache.http.entity.ContentType contentType)