Netty implements HTTP file server

1, DemandThe file server uses HTTP protocol to provide external services. When accessing the file server through the browser, the user first checks the URL. If it fails, an error 403 is returned; If the current directory is opened by link through verification, each directory or file is displayed in the form of hyperlink, which can be accessed r ...

Posted by mkohan on Sun, 28 Nov 2021 07:00:25 -0800

One stop learning Java network programming - learning notes

1. General 1.1 what is NIO? NIO: I think it is translated into non blocking, which is more popular and straightforward. Compared with BIO, there is also a comparison. It is best to call it non blocking IO It has the following differences from BIOChannel is bidirectional, that is, it can read and write. Compared with Stream, it does not disti ...

Posted by bwcc on Thu, 07 Oct 2021 14:22:14 -0700