Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java client

 
krishna prasad gunasekaran
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do a java client prepares a HTTP request and interprets a HTTP response.
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some simple examples can be found here, particularly e136 for GET requests, and e135 for POST.

As to interpreting the results, that's up to your code. The URLConnection just hands you the text of the web page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic