📄 use.txt
字号:
http is a small library of Java classes to let you do HTTP
CGI GET, POST, HEAD and "FETCH" (generic) to a server. It
will also encode parameter pairs for you.
It does nothing on its own. It is intended to be
incorporated into your own programs.
To see a sample use have a look at the
com.mindprod.submitter package, downloadable at
http://mindprod.com/products1.html#SUBMITTER
For downloading long http:, file: or https: files, see
com.mindprod.filetransfer.Download
http://mindprod.com/products1.html#FILETRANSFER
The Get, Post, Head and Probe classes only work on http: urls.
The Fetch class works on http:, https:, file: etc.
For meanings of various response codes, see
http://mindprod/jgloss/responsecode.html
Version History
1.0 2007-06-25 is the first public release though it has
been in use in slightly different form for many years.
1.1 2007-07-19 improved handling of responseCode.
1.2 2007-07-27 uses UTF-8 instead of ISO-8859-1.
1.3 2007-08-24 new Read methods that will work with
multibyte encodings. rename read methods to
readBytesBlocking and readStringBlocking.
1.4 2007-08-26 add timeout.
1.5 2007-12-30 add altervate get and post methods that take
a full URL.
1.6 2008-01-14 add ability to read gzipped streams.
1.7 2008-07-25 add configurable User-Agent, add Base Http class.
1.8 2008-07-27 handle case where URL given was not HTTP. Add generic fetch method
that works with https: file: etc. configurable Referer property.
1.9 2008-08-22 support accept-charset, accept-encoding and
accept-language. Fix bugs in gzip support.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -