Is there an Java library for sending binary data o

2019-07-18 08:53发布

I would like to send quite large chunks of data in a binary format over HTTP, also called HTTP Tunneling.

I would like to use this technique using Java for a few Java Swing applications and maybe an Android application. Is there any good Java libraries for HTTP Tunneling?

4条回答
Deceive 欺骗
2楼-- · 2019-07-18 09:27

You can certainly use Apache Commons HTTP library to send HTTP.

查看更多
神经病院院长
3楼-- · 2019-07-18 09:36

HttpURLConnection. No need for another library.

查看更多
小情绪 Triste *
4楼-- · 2019-07-18 09:44

Here is another implementation in Jodd library. There is base implementation named HttpTunnel. Here is a simple example how to use it: https://github.com/oblac/tools/blob/master/src/jodd/tools/http/TinyTunnel.java

查看更多
戒情不戒烟
5楼-- · 2019-07-18 09:52
登录 后发表回答