• Post Reply Bookmark Topic Watch Topic
  • New Topic

HTTP Request APIs

 
Ranadhir Nag
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We wanted to get the DNS resoultion metric for a Http request dispatched from a java client appliaction.
Are there any java APIs/library which allows a java application to dispatch HTTP requests and report the DNS and reponse timing metrics.
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"report the DNS and reponse timing metrics." - do not know what exactly it means.

But you can try apache's HTTP-client project for making HTTP requests.
 
Ranadhir Nag
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By DNS metric i mean the time being taken to resolve the url throgh DNS lookup.
So when we use the client to send a request we actually need th time taken in the differet stages like resolving DNS,actual connection ,SSL handshake etc
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ranadhir Nag:
By DNS metric i mean the time being taken to resolve the url throgh DNS lookup.
So when we use the client to send a request we actually need th time taken in the differet stages like resolving DNS,actual connection ,SSL handshake etc


I am not very sure that such timing data are collected by apache's HTTP client or not.Might want to check out the users guide of this project.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!