会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yongjar
点滴的积累。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2020年8月18日
window 杀进程
摘要: 根据端口号查询 具体进程信息。 netstat -ano |findstr 8080 杀掉某个进程。(加-F强制杀除,英文意思为Force )。 taskkill -PID 7276 -F
阅读全文
posted @ 2020-08-18 11:24 yongjar
阅读(242)
评论(0)
推荐(0)
2020年8月15日
URL的三部分
摘要: http://www.joes-hardware.com/seasonal/index-fall.html URL的第一部分: url方案。方案可以告知web客户端怎样访问资源。在这个例子中,URL说明要使用HTTP协议。 URL的第二部分: http://www.joes-hardware.com
阅读全文
posted @ 2020-08-15 09:48 yongjar
阅读(684)
评论(0)
推荐(1)
2020年8月14日
基本的浏览器连接处理步骤
摘要: a): 浏览器从URL中解析出服务器主机名; b): 浏览器将服务器的主机名转换成服务器的ip地址。 c): 浏览器将端口号(如果有的话),从URL解析出来。 d): 浏览器建立一条web服务器的tcp连接。 e): 浏览器向服务器发送一条HTTP请求报文。 f): 服务器向浏览器回送一条HTTP响
阅读全文
posted @ 2020-08-14 16:23 yongjar
阅读(472)
评论(0)
推荐(0)
2020年5月21日
GSON的基本用法八 -- JsonElement对象
摘要: 演示JsonElement对象的deepCopy()、getAsJsonObject()、getAsJsonArray()方法。import com.google.gson.*; /** * @author yongjar * @date 2020/4/28 */ public class Gson
阅读全文
posted @ 2020-05-21 09:59 yongjar
阅读(7806)
评论(0)
推荐(0)
2020年5月13日
GSON的基本用法七
摘要: 获取GSON的版本import com.google.gson.internal.GsonBuildConfig;/** * @author yongjar * @date 2020/4/28 */public class GsonTester { public static void main(String args[]) { //获取GSON的版本 Strin...
阅读全文
posted @ 2020-05-13 17:41 yongjar
阅读(319)
评论(0)
推荐(0)
GSON的基本用法六
摘要: 演示Gson获取java的版本import com.google.gson.Gson;import com.google.gson.internal.JavaVersion;/** * @author yongjar * @date 2020/4/28 */public class GsonTester { public static void main(String args[]) { ...
阅读全文
posted @ 2020-05-13 17:16 yongjar
阅读(221)
评论(0)
推荐(0)
GSON的基本用法五
摘要: 演示JsonParser的用法import com.google.gson.Gson;import com.google.gson.JsonElement;import com.google.gson.JsonObject;import com.google.gson.JsonParser;/** * @author yongjar * @date 2020/4/28 */public class...
阅读全文
posted @ 2020-05-13 17:03 yongjar
阅读(217)
评论(0)
推荐(0)
GSON的基本用法四
摘要: 演示gson数组的序列化和反序列化。import com.google.gson.Gson;import com.google.gson.reflect.TypeToken;import com.google.inject.internal.Lists;import java.lang.reflect.Type;import java.util.Collection;import java.uti...
阅读全文
posted @ 2020-05-13 11:50 yongjar
阅读(214)
评论(0)
推荐(0)
GSON的基本用法三
摘要: 演示gson数组的序列化和反序列化。import com.google.gson.Gson;/** * @author yongjar * @date 2020/4/28 */public class GsonTester { public static void main(String args[]) { // 演示序列化 Gson gson = new Gso...
阅读全文
posted @ 2020-05-13 11:13 yongjar
阅读(209)
评论(0)
推荐(0)
2020年5月7日
Gson的基本用法二
摘要: 演示json转Object。Gson gson = new Gson();String json = "{\"status\":\"1\",\"message\":\"success info\"}";//普通的javaBean转jsonBean bean1 = gson.fromJson(json, Bean.class);System.out.println(bean1);只需要json的ke...
阅读全文
posted @ 2020-05-07 10:29 yongjar
阅读(162)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告