public class BBWebClient
A simple class for retrieving content from web servers. A Wrapper for Apache's HttpClient class
| Modifier and Type | Method and Description |
|---|---|
static String | GetPageContents()Test method that retrieves the local webserver page at http://localhost:8888/ |
static BBWebResponse | sendRequest(BBWebRequest 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 BBWebResponse sendRequest(BBWebRequest 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.