>>284
getHeaderField("Location") の値を取れ。ただし 300 番代が必ず Location
を返すわけではないので注意。めんどくさかったら setFollowRedirects(true)
でやれ。