Added Java support for HEAD.
Added Java support for DELETE.