上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 77 下一页

什么是 read timeout【重要】

摘要: SocketTimeout - Defines the socket timeout (SO_TIMEOUT) in milliseconds, which is the timeout for waiting for data or, put differently, a maximum peri 阅读全文
posted @ 2023-07-31 17:31 silyvin 阅读(70) 评论(0) 推荐(0)

Netty 作为 http client 请求https 的 get与post(二)双向ssl

摘要: 接 Netty 作为 http client 请求https 的 get与post , package com.example.demo;import io.netty.bootstrap.Bootstrap;import io.netty.buffer.ByteBuf;import io.nett 阅读全文
posted @ 2023-07-17 22:26 silyvin 阅读(404) 评论(0) 推荐(0)

byte转string再转回为有损过程

摘要: private class HostRemoveResponseModifier implements Modifier { protected String getHost() { return url; } @Override public byte[] mod(byte[] origin) { 阅读全文
posted @ 2023-07-03 11:30 silyvin 阅读(24) 评论(0) 推荐(0)

非静态内部类newInstance

摘要: https://stackoverflow.com/questions/25634542/newinstance-with-inner-classes Non-static inner classes need an instance of the outer class to work prope 阅读全文
posted @ 2023-07-03 11:17 silyvin 阅读(36) 评论(0) 推荐(0)

-DskipTests与-Dmaven.test.skip

摘要: -DskipTests,不执行测试用例,但编译测试用例类生成相应的class文件至target/test-classes下。 -Dmaven.test.skip=true,不执行测试用例,也不编译测试用例类。 阅读全文
posted @ 2023-04-13 10:41 silyvin 阅读(24) 评论(0) 推荐(0)

使用MAT时的Shallow Size和 Retained Size的区别(二)

摘要: 理解VisualVM中的保留大小(Retained Size) https://www.jianshu.com/p/aaddf00a1d83 Retained size of an object is its shallow size plus the shallow sizes of the ob 阅读全文
posted @ 2023-04-04 16:39 silyvin 阅读(178) 评论(0) 推荐(0)

java object多大 java对象内存模型 数组有多长(二)偏移

摘要: 1 使用http://www.javamex.com/中提供的classmexer.jar来计算对象的大小。 2 org.openjdk.jol.info.ClassLayout Shallow org.openjdk.jol.info.GraphicLayout retained 3 自写 htt 阅读全文
posted @ 2023-03-30 10:53 silyvin 阅读(63) 评论(0) 推荐(0)

证书链

摘要: 一层公钥-一层签名二层公钥-一层签名三层公钥-一层签名 二层公钥解密三层签名,验证三层公钥一层公钥解密二层签名,验证二层公钥root公钥解密一层签名,验证一层公钥 自己的公钥➕中间CA私钥签名中间CA公钥➕根CA私钥签名根证书 用操作系统根证书验证中间CA公钥匙用已验证的的传过来的中间CA证书验证服 阅读全文
posted @ 2023-03-16 11:56 silyvin 阅读(26) 评论(0) 推荐(0)

java 获取内存信息(include direct buffer)

摘要: I am creating a scheduled executor to read the memory usage of the JVM. I have come across two ways to get memory statistics in a running JVM - Runtim 阅读全文
posted @ 2023-03-15 18:07 silyvin 阅读(214) 评论(0) 推荐(0)

ajax thisisunsafe

摘要: ajax 从chrome发出,对方公钥证书不是符合要求CA签发的,则会ssl握手失败,也没有机会强制信任 比如:http代理服务器(三)fiddler【重点】 当然应该可以从ajax指定信任一切服务端公钥 阅读全文
posted @ 2023-03-03 00:07 silyvin 阅读(20) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 77 下一页