The smiley icons bundled with this application belong to Meneame.NET and are licensed
under the Creative Commons by-sa 3.0 license. For more information, please visit
http://creativecommons.org/licens...
If you think the Android project FisgoDroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
package net.meneame.fisgodroid;
//www.java2s.comimport java.io.InputStream;
import java.io.OutputStream;
import java.util.Map;
publicinterface IHttpService
{
publicinterface ProgressUpdater {
publicvoid progress(int byteCount);
}
public String get ( String uri );
publicboolean get ( String uri, OutputStream stream );
public String post ( String uri, Map<String, Object> params );
public String post ( String uri, Map<String, Object> params, ProgressUpdater updater );
publicboolean post ( String uri, Map<String, Object> params, OutputStream stream );
publicboolean post ( String uri, Map<String, Object> params, OutputStream stream, ProgressUpdater updater );
public String postData ( String uri, InputStream data );
publicboolean postData ( String uri, InputStream data, OutputStream stream );
public String postData ( String uri, InputStream data, ProgressUpdater updater );
publicboolean postData ( String uri, InputStream data, OutputStream stream, ProgressUpdater updater );
}