code: public static Cookie getCookie(String name, Cookie[] cookies) {
          if (Checker.isNotEmpty(cookies)) {
              for (Cookie cookie : cookies) {
                  if (name.equals(cookie.getName())) {
                      return cookie;
                  }
              }
          }
          return null;
      }
docs: 通过名称获取Cookie
  
  @param name Cookie名
  @param cookies cookie数组
  
  @return {@link Cookie}