K
K
Kirill Zhilyaev2017-08-29 20:21:29
Java
Kirill Zhilyaev, 2017-08-29 20:21:29

What http library would you recommend to use?

You need some kind of http library to be able to send http(s) requests, add headers, read headers from the response, connect through a proxy.
Well, simple, so that a beginner can understand

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
al_gon, 2017-08-29
@al_gon

google-http-java-client

S
SolidMinus, 2017-08-29
@SolidMinus

Already answered, the answer is good, but in my free time I advise you to figure it out: jnetpcap.com ( How to use RAW sockets in Java? )
It will be difficult to figure it out, but if you figure it out, you can work with the network at the level of creating your own protocols, modifying existing ones, and in general a bunch of all sorts nishtyakov, because it allows you to build packages from scratch.
It will still come in handy sooner or later, and it will add a line in the resume that distinguishes it from other developers, transferring you immediately from the programmer section to "network programmer", which will certainly expand the possibility of employment, and the principles are identical with all other languages.

P
protven, 2017-08-29
@protven

Apache HTTP Client
An ageless classic.

K
Kirill Romanov, 2017-08-30
@Djaler

Unirest

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question