[Master Answer Logo]
Question

How do I get a html status code in java?

Answer

The World Wide Web Consortium published a Working Draft specification for the XMLHttpRequest object's API on 5 April 2006. While this is still a work in progress, its goal is "to document a minimum set of interoperable features based on existing implementations, allowing Web developers to use these features without platform-specific code". The draft specification is based upon existing popular implementations, to help improve and ensure interoperability of code across web platforms.

— Source: Wikipedia (www.wikipedia.org)