类 ParamTypeUtil


  • public class ParamTypeUtil
    extends Object
    参数传递方式
    • 构造器详细资料

      • ParamTypeUtil

        public ParamTypeUtil()
    • 方法详细资料

      • isJSON

        public static boolean isJSON​(String contentType)
        是否是json格式
        参数:
        contentType - 内容类型
        返回:
      • isFormData

        public static boolean isFormData​(String contentType)
        是否是formData格式
        参数:
        contentType - 内容类型
        返回:
      • isUrlEncoded

        public static boolean isUrlEncoded​(String contentType)
        是否是表单格式
        参数:
        contentType - 内容类型
        返回: