Class HTTP

java.lang.Object
com.storedobject.common.HTTP

public class HTTP extends Object
Simple HTTP utility. Requests can be sent multiple times but before sending subsequent requests the method done() should be invoked to clean up the previous request.

Note: This is written before HttpClient was available in Java. So, it is better to use that class and its related cousins instead of this class.

New: Now a new version of HTTP class is added for making more efficient connection and easier content handling. See HTTP2. This class utilizes the latest HttpClient class in Java. I can also handle chunked and/or compressed content automatically.

Author:
Syam