Find Jobs
Hire Freelancers

design a async Networking Library in Java

₹600-1500 INR

Imefungwa
Imechapishwa over 5 years ago

₹600-1500 INR

Kulipwa wakati wa kufikishwa
* You have to design a async Networking Library in Java named myHttp (basically wrapper over HttpURLConnection), * the library should expose the following interface. */ /** * [login to view URL] API example of GET request. * String: methodType * String: url * Map<String, String>: headers * String: tag */ ListenableFuture<myResponse> getResponseFuture = [login to view URL](new OfbRequest(GET, url, headers, tag)); [login to view URL](getResponseFuture, new FutureCallback<OfbResponse>() { public void onSuccess(myResponse ofbResponse) { //process response asynchronously } public void onFailure(Throwable thrown) { //process failure } public void onCancel() { //process cancellation }}); /** * [login to view URL] API example of POST request. * String: methodType * String: body * String: url * Map<String, String>: headers * String: tag * */ ListenableFuture<myResponse> postResponseFuture = [login to view URL](new myRequest(POST, body, url, headers, tag)); [login to view URL](postResponseFuture, new FutureCallback<myResponse>() { public void onSuccess(myResponse myResponse) { //process response asynchronously } public void onFailure(Throwable thrown) { //process failure } public void onCancel() { //process cancellation }}); /** * [login to view URL] API example of GET request * This will cancel all the requests with the provided "tag" and call their onCancel callback */[login to view URL](tag); /** * Notes: * If multiple GET requests hit the same url. Then all of the callers should get same response. * * ListenableFuture is a class from guava library * [login to view URL] *
Kitambulisho cha mradi: 18472886

Kuhusu mradi

3 mapendekezo
Mradi wa mbali
Inatumika 5 yrs ago

Unatafuta kupata pesa?

Faida za kutoa zabuni kwenye Freelancer

Weka bajeti yako na muda uliopangwa
Pata malipo kwa kazi yako
Eleza pendekezo lako
Ni bure kujiandikisha na kutoa zabuni kwa kazi
3 wafanyakazi huru wana zabuni kwa wastani ₹2,690 INR kwa kazi hii
Picha ya Mtumiaji
Hi, I am interested to work on this project... Let me know if you want me to work on this project.... THanks, Harsh........................................
₹4,444 INR ndani ya siku 1
4.7 (42 hakiki)
4.7
4.7
Picha ya Mtumiaji
hi I m java developer. I m working with Ericsson. we are using RF core along with Akka for this same asynchronous implantation. I would like to discuss in detail upon chat.
₹850 INR ndani ya siku 2
5.0 (2 hakiki)
3.0
3.0

Kuhusu mteja

Bedera ya INDIA
Allahabad, India
0.0
0
Mwanachama tangu Sep 11, 2013

Uthibitishaji wa Mteja

Asante! Tumekutumia kiungo cha kudai mkopo wako bila malipo kwa barua pepe.
Hitilafu fulani imetokea wakati wa kutuma barua pepe yako. Tafadhali jaribu tena.
Watumiaji Waliosajiliwa Jumla ya Kazi Zilizochapishwa
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Onyesho la kukagua linapakia
Ruhusa imetolewa kwa Uwekaji wa Kijiografia.
Muda wako wa kuingia umeisha na umetoka nje. Tafadhali ingia tena.