public class GETRequester extends AbstractRequester
HTTP requester for GET requests.
| Constructor and Description |
|---|
GETRequester()
Default constructor.
|
GETRequester(Charset charset)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
getResponse(String url)
Retrieves the response from the specified URL.
|
getCharset, getConnection, getResponse, setCharsetpublic GETRequester()
Default constructor.
public GETRequester(Charset charset)
Overloaded constructor.
charset - the charsetpublic HttpResponse getResponse(String url)
AbstractRequesterRetrieves the response from the specified URL.
getResponse in class AbstractRequesterurl - the URL to callResponseCopyright © 2019. All rights reserved.