public class DTWebClient
A simple class for retrieving content from web servers. A Wrapper for Apache's HttpClient class. Customized BBWebClient to support character sets other than UTF-8.
| Modifier and Type | Method and Description |
|---|---|
static String | GetPageContents()Test method that retrieves the local webserver page at http://localhost:8888/ |
static DTWebResponse | sendRequest(DTWebRequest request!)Sends a request to a webserver and retrieves a response. This is performed synchronously and is therefore blocking. |
public static String GetPageContents()Test method that retrieves the local webserver page at http://localhost:8888/
public static DTWebResponse sendRequest(DTWebRequest request!)
Sends a request to a webserver and retrieves a response. This is performed synchronously and is therefore blocking.
request! An object containing the requested URI or URL, method, authorization, and any other needed headers.