摘要:
public class DemoApplication { private static ExecutorService pool; public static void main(String[] args) throws UnsupportedEncodingException, Interr 阅读全文
posted @ 2021-06-01 22:04
MartialWorldFish
阅读(220)
评论(0)
推荐(0)
摘要:
ExecutorService executorService = Executors.newSingleThreadExecutor(); Future<String> future = executorService.submit(() -> myJob(param)); try { //设置超 阅读全文
posted @ 2021-06-01 21:58
MartialWorldFish
阅读(334)
评论(0)
推荐(0)
摘要:
在开发过程中和第三方系统对接时遇到需要使用GET请求传递JSON参数,现整理请求方式如下。 POM 1 <dependency> 2 <groupId>org.apache.httpcomponents</groupId> 3 <artifactId>httpclient</artifactId> 阅读全文
posted @ 2021-06-01 00:20
MartialWorldFish
阅读(2365)
评论(0)
推荐(0)

浙公网安备 33010602011771号