src/main/java/application/rest/v1/StatusEndpoint.java
// Decodes a URL encoded string using `UTF-8`
Decodes a URL encoded string using `UTF-8`
Decodes a URL encoded string using ` UTF - 8 `
private static String urlDecode(String value) {
        try {
            return URLDecoder.decode(value, StandardCharsets.UTF_8.toString());
        } catch (UnsupportedEncodingException ex) {
            if (Logger.isErrorEnabled()) {
                Logger.log(StatusEndpoint.class.getName(), "urlDecode", Logger.LogType.ERROR, "Caught UnsupportedEncodingException " + ex.toString());
            }
            throw new RuntimeException(ex.getCause());
        }
    }
private static String urlDecode ( String value ) { try { return URLDecoder . decode ( value , StandardCharsets . UTF_8 . toString ( ) ) ; } catch ( UnsupportedEncodingException ex ) { if ( Logger . isErrorEnabled ( ) ) { Logger . log ( StatusEndpoint . class . getName ( ) , "urlDecode" , Logger . LogType . ERROR , "Caught UnsupportedEncodingException " + ex . toString ( ) ) ; } throw new RuntimeException ( ex . getCause ( ) ) ; } }
Decodes a URL encoded string using `UTF-8`
Decodes a URL encoded string using ` UTF - 8 `