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, setCharset
public GETRequester()
Default constructor.
public GETRequester(Charset charset)
Overloaded constructor.
charset
- the charsetpublic HttpResponse getResponse(String url)
AbstractRequester
Retrieves the response from the specified URL.
getResponse
in class AbstractRequester
url
- the URL to callResponse
Copyright © 2017. All rights reserved.