Package me.romvnly.TownyPlus.dump
Class WebUtils
java.lang.Object
me.romvnly.TownyPlus.dump.WebUtils
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WebUtils
public WebUtils()
-
-
Method Details
-
post
Post a string to the given URL- Parameters:
reqURL- URL to post topostContent- String data to post- Returns:
- String returned by the server
- Throws:
IOException
-
postForm
Post fields to a URL as a form- Parameters:
reqURL- URL to post tofields- Form data to post- Returns:
- String returned by the server
- Throws:
IOException
-