Url : http://treejsh.tistory.com/aaa/bbb?param=happy#section

Uri.Builder uri = new Uri.Builder()
                .scheme("http")
                .authority("treejsh.tistory.com")
                .appendPath("aaa")
                .appendPath("bbb")
                .appendQueryParameter("param", "happy")
                .fragment("section");

String url = uri.build().toString();

'network' 카테고리의 다른 글

OkHttp 사용방법  (0) 2015.02.11
OkHttp 다운로드  (0) 2015.02.11

+ Recent posts