I am working related to HTTP response in java.(jdk 1.6.12). Can any one help me, my problem is : How to determine which method used in http response by a web server(the site to which i am connecting ). (get or post or head or trace or any other...). How to determine types of response method used by server (from client side).

Plz. help me....! Thanks.