07 2023 档案

getMethods与public override方法
摘要:public class TT { public static void main(String[] args) { System.out.println(B.class.getMethods().length); System.out.println(C.class.getMethods().le 阅读全文

posted @ 2023-07-31 17:40 silyvin 阅读(22) 评论(0) 推荐(0) 编辑

什么是 read timeout【yet,重要】
摘要: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 阅读(44) 评论(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 阅读(318) 评论(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 阅读(19) 评论(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 阅读(26) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示