File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
main/java/io/github/laeubi/httpclient
test/java/io/github/laeubi/httpclient Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 2525import io .netty .handler .codec .http .HttpVersion ;
2626import io .netty .handler .codec .http .websocketx .TextWebSocketFrame ;
2727import io .netty .handler .codec .http .websocketx .WebSocketFrame ;
28- import io .netty .handler .codec .http .websocketx .WebSocketServerProtocolHandler ;
2928import io .netty .handler .codec .http .websocketx .WebSocketServerProtocolConfig ;
29+ import io .netty .handler .codec .http .websocketx .WebSocketServerProtocolHandler ;
3030import io .netty .handler .logging .LogLevel ;
3131import io .netty .handler .logging .LoggingHandler ;
3232
3535 */
3636public class NettyWebSocketServer {
3737
38+ static {
39+ System .setProperty ("jdk.httpclient.HttpClient.log" , "all" );
40+ }
41+
3842 private static final Logger logger = LoggerFactory .getLogger (NettyWebSocketServer .class );
3943
4044 private final int port ;
Original file line number Diff line number Diff line change 33import static org .junit .jupiter .api .Assertions .assertEquals ;
44import static org .junit .jupiter .api .Assertions .assertNotNull ;
55import static org .junit .jupiter .api .Assertions .assertTrue ;
6- import static org .junit .jupiter .api .Assertions .fail ;
76
87import java .net .URI ;
98import java .net .http .HttpClient ;
You can’t perform that action at this time.
0 commit comments