public class GETRequester extends AbstractRequester
HTTP requester for GET requests.
charset, client, requestProperties| Constructor and Description |
|---|
GETRequester()
Default constructor.
|
GETRequester(Charset charset)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBodyAsString(String url)
Returns the response from the specified URL as a string.
|
getBody, getBodyAsStringFromTable, getCharset, getResponse, setCharsetpublic GETRequester()
Default constructor.
public GETRequester(Charset charset)
Overloaded constructor.
charset - the charsetpublic String getBodyAsString(String url)
AbstractRequesterReturns the response from the specified URL as a string.
getBodyAsString in class AbstractRequesterurl - the URL to get the response fromCopyright © 2017. All rights reserved.