摘要: package com.sea.elsardcservice.untils; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.InputStream; import j 阅读全文
posted @ 2019-05-20 15:07 lshan 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 原文请参考:https://blog.csdn.net/fwt336/article/details/81530581 1.ExecutorService的创建方式 public ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, lo 阅读全文
posted @ 2019-05-20 13:41 lshan 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 场景:避免一些简单的响应数据,需要手动封装放回对象 response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, "haha 系统崩了"); 阅读全文
posted @ 2019-05-20 12:03 lshan 阅读(905) 评论(0) 推荐(0) 编辑