com.joker17.http.request.support.ValidateUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http-request Show documentation
Show all versions of http-request Show documentation
对httpclient进行一定封装,使一些常规请求操作使用起来更简单
The newest version!
package com.joker17.http.request.support;
public class ValidateUtils {
private ValidateUtils() {
}
public static void checkKeyNameNotEmpty(String name) {
if (name == null || name.isEmpty()) {
throw new IllegalArgumentException("key must be not empty!");
}
}
}