python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to execute "OPTIONS" HTTP method request in Java 11 HttpClient
I need to replace Apache http client with java httpClient.
I have a test with an apache client that works well:
HttpOptions httpOptions = new HttpOptions(uploadUrl);
try (CloseableHttpResponse respons...

Aleks Crow
Votes: 0
Answers: 1
Intermitent "Received RST_STREAM: Not an error" observed when calling send on java.net.http.HttpClient
I've noticed recently a weird, intermittent error: "Received RST_STREAM: Not an error" which seems to come from java when calling send on java.net.http.HttpClient. Googling it, I found simil...

Draco
Votes: 0
Answers: 0
Is it a good practice to define java.net.http.HttpClient instance attributes?
I'm using JDK HttpClient to make some asynchronous HTTP requests. In particular I have a class similar to the following one:
public class MyClass {
private HttpClient client;
public MyClass(){
...
caristu
Votes: 0
Answers: 0
How to limit connections for java.net.http.HttpClient
How to limit the number of connection/request for java.net.http.HttpClient?
I see I can set an Executor to HttpClient but I don't know: if I limit the number of thread in pool of Executor, is it limit...
lecogiteur
Votes: 0
Answers: 1