摘要: /** * * @param urlStr 接口地址 * @param xmlInfo xml格式参数数据 * @return */ public static String sendMsgXml(String urlStr, String xmlInfo) { StringBuffer buffer = new StringBuffer(); try { URL url = new URL(ur 阅读全文
posted @ 2019-08-30 18:49 yvioo 阅读(6568) 评论(0) 推荐(1) 编辑
摘要: /** * java获取raw */ public static String readRaw(InputStream inputStream) { String result = ""; try { ByteArrayOutputStream outSteam = new ByteArrayOutputStream(); byte[] buffer = new byte[1024]; int l 阅读全文
posted @ 2019-08-30 18:41 yvioo 阅读(9704) 评论(0) 推荐(1) 编辑