apache httpclient
-HttpClient5
https://www.baeldung.com/httpclient-timeout
Apache HttpClient Timeout | Baeldung
How to set up timeout for an HttpClient - connection and socket timeouts, and a mechanism for hard timeout of ongoing http connections.
www.baeldung.com
https://www.baeldung.com/java-http-response-body-as-string
Reading an HTTP Response Body as a String in Java | Baeldung
Explore several options for reading an HTTP response body as a string in Java
www.baeldung.com
-HttpClient
http://jinwooe.blogspot.kr/2013/12/apache-httpclient-https.html
http://202psj.tistory.com/145
성공체크 - https://hc.apache.org/httpcomponents-client-ga/httpclient/examples/org/apache/http/examples/client/ClientWithResponseHandler.java
HttpResponse response = httpClient.execute(get);
int status = response.getStatusLine().getStatusCode();
if (status >= 200 && status < 300) {
//성공시 체크
}