摘要: 1、HttpClientUtil类,提供三个方法,分别是sendPostByForm,sendPostByJson,sendPostByXml sendPostByForm 处理 application/x-www-form-urlencoded格式报文的请求 sendPostByJson 处理 a 阅读全文
posted @ 2019-09-29 20:18 harara 阅读(46758) 评论(0) 推荐(2)
摘要: 获取客户端请求的IP地址(JAVA) 阅读全文
posted @ 2019-09-29 20:10 harara 阅读(4180) 评论(0) 推荐(0)
摘要: 方法一、通过Character.isDigit()来判断 方法二、通过正则表达式判断\d+ 阅读全文
posted @ 2019-09-29 20:07 harara 阅读(367) 评论(0) 推荐(0)