Thursday, November 22, 2012

Parsing the response headers in Java from URLConnection object


Often when doing programming with HTTP requests and responses there would be headers that would be sent via URLConnection object.

A generic  java snippet to parse the headers are like this.


Followers