title: How to find out server response code using java
body: <p>How can we identify the server response code through java coding. I mean if we got any response from server as a HTTP response, we should be able to print this as string or whatever. Also, I wanted to know how do we track in java, if some particular request is being hit to the server and find out the server response code too. </p>