public class HttpUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ZIP_BUFFER_SIZE |
| Modifier and Type | Method and Description |
|---|---|
static String |
constructUrl(VariableSpace space,
String hostname,
String port,
String webAppName,
String serviceAndArguments)
Returns http GET request string using specified parameters.
|
static String |
constructUrl(VariableSpace space,
String hostname,
String port,
String webAppName,
String serviceAndArguments,
boolean isSecure) |
static String |
decodeBase64ZippedString(String loggingString64)
Base 64 decode, unzip and extract text using
Const.XML_ENCODING predefined charset value for byte-wise
multi-byte character handling. |
static String |
encodeBase64ZippedString(String in) |
static String |
getPortSpecification(VariableSpace space,
String port) |
public static final int ZIP_BUFFER_SIZE
public static String constructUrl(VariableSpace space, String hostname, String port, String webAppName, String serviceAndArguments) throws UnsupportedEncodingException
space - hostname - port - webAppName - serviceAndArguments - UnsupportedEncodingExceptionpublic static String constructUrl(VariableSpace space, String hostname, String port, String webAppName, String serviceAndArguments, boolean isSecure) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic static String getPortSpecification(VariableSpace space, String port)
public static String decodeBase64ZippedString(String loggingString64) throws IOException
Const.XML_ENCODING predefined charset value for byte-wise
multi-byte character handling.loggingString64 - base64 zip archive string representationIOExceptionpublic static String encodeBase64ZippedString(String in) throws IOException
IOExceptionCopyright © 2020 Hitachi Vantara. All rights reserved.