Find Jobs
Hire Freelancers

design a async Networking Library in Java

₹600-1500 INR

Closed
Posted over 5 years ago

₹600-1500 INR

Paid on delivery
* 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] *
Project ID: 18472886

About the project

3 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
3 freelancers are bidding on average ₹2,690 INR for this job
User Avatar
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 in 1 day
4.7 (42 reviews)
4.7
4.7
User Avatar
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 in 2 days
5.0 (2 reviews)
3.0
3.0

About the client

Flag of INDIA
Allahabad, India
0.0
0
Member since Sep 11, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.