public interface HTTPClient
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close http client and release resource
|
HTTPResponse |
fetch(HTTPRequest request)
Fetch HTTP response by given HTTP request,
|
HTTPResponse fetch(HTTPRequest request) throws IOException, URISyntaxException
request - Specify which to be fetched.IOException - connection problem.URISyntaxException - url syntax problem.void close()
Copyright © 2018. All rights reserved.