[JAVA-15029] Upgraded to apache httpClient 5 (#13112)

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
This commit is contained in:
panos-kakos
2022-12-08 14:16:13 +00:00
committed by GitHub
parent 2285190be6
commit 205506f00a
2 changed files with 49 additions and 65 deletions
@@ -0,0 +1,11 @@
package com.baeldung.handler;
import org.apache.hc.core5.http.ClassicHttpResponse;
import org.apache.hc.core5.http.io.HttpClientResponseHandler;
public class CustomHttpClientResponseHandler implements HttpClientResponseHandler<ClassicHttpResponse> {
@Override
public ClassicHttpResponse handleResponse(ClassicHttpResponse response) {
return response;
}
}