equal
deleted
inserted
replaced
25 import javax.net.ssl.SSLParameters; |
25 import javax.net.ssl.SSLParameters; |
26 import java.io.IOException; |
26 import java.io.IOException; |
27 import java.net.Authenticator; |
27 import java.net.Authenticator; |
28 import java.net.CookieHandler; |
28 import java.net.CookieHandler; |
29 import java.net.ProxySelector; |
29 import java.net.ProxySelector; |
|
30 import java.time.Duration; |
30 import java.util.Optional; |
31 import java.util.Optional; |
31 import java.util.concurrent.CompletableFuture; |
32 import java.util.concurrent.CompletableFuture; |
32 import java.util.concurrent.Executor; |
33 import java.util.concurrent.Executor; |
33 import java.net.http.HttpClient; |
34 import java.net.http.HttpClient; |
34 import java.net.http.HttpRequest; |
35 import java.net.http.HttpRequest; |
46 } |
47 } |
47 |
48 |
48 @Override |
49 @Override |
49 public Optional<CookieHandler> cookieHandler() { |
50 public Optional<CookieHandler> cookieHandler() { |
50 return client.cookieHandler(); |
51 return client.cookieHandler(); |
|
52 } |
|
53 |
|
54 @Override |
|
55 public Optional<Duration> connectTimeout() { |
|
56 return client.connectTimeout(); |
51 } |
57 } |
52 |
58 |
53 @Override |
59 @Override |
54 public Redirect followRedirects() { |
60 public Redirect followRedirects() { |
55 return client.followRedirects(); |
61 return client.followRedirects(); |