Skip to content

simple http get/post handler for java, especially for android platform

Notifications You must be signed in to change notification settings

rhee/SimpleHttp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Simple HTTP get/post methods for java/android

Usage:

import kr.co.websync.net.SimpleHttp;

...

new SimpleHttp("url").get(new String[]{"p",param1,"p2",param2},new SimpleHttp.SimpleHttpCallback(){
    public void onHttpOk(SimpleHttp task,int status,long server_time,String response){
        Log.d(TAG,"SimpleHttp.onHttpOk: "+status+", time: "+server_time+", resp: "+response);
    }
    public void onHttpError(SimpleHttp task,Throwable error,int status,String response){
        Log.d(TAG,"SimpleHttp.onHttpError: "+status+", resp: "+response);
    }
});

...

About

simple http get/post handler for java, especially for android platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages