Package VASSAL.chat
Class HttpRequestWrapper
java.lang.Object
VASSAL.chat.HttpRequestWrapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoGet(String path, Properties props) Perform a GET requestdoGet(Properties p) doPost(String path, Properties props) doPost(Properties p)
-
Constructor Details
-
HttpRequestWrapper
-
-
Method Details
-
doGet
- Throws:
IOException
-
doGet
Perform a GET request- Parameters:
path- the URL relative to the base URLprops- additional query parameters- Returns:
- a List of Strings, one for each line in the response
- Throws:
IOException
-
doPost
- Throws:
IOException
-
doPost
- Throws:
IOException
-