パッケージ org.fanout.gripcontrol

クラス Utilities

java.lang.Object
org.fanout.gripcontrol.Utilities

public class Utilities
extends Object
Static utilities used with the GRIP features.
  • コンストラクタの詳細

    • Utilities

      public Utilities()
  • メソッドの詳細

    • utf8BytesToString

      public static String utf8BytesToString​(byte[] bytes)
    • charLength

      public static int charLength​(byte[] bytes)
      Returns the number of UTF-8 characters.
    • isUtf8

      public static boolean isUtf8​(byte[] bytes)
      Validate a UTF-8 byte array.
    • splitQuery

      public static Map<String,​List<String>> splitQuery​(URL url) throws UnsupportedEncodingException
      Split the query string in the specified URL.
      例外:
      UnsupportedEncodingException