QA@IT
«回答へ戻る

回答を投稿

自己解決

d:\>java -Dhttps.protocols="TLSv1.2" HttpClientHttpURLConnection
レスポンスヘッダ:
  null: [HTTP/1.1 200 OK]
  ETag: ["2e-432a5e4a73a80"]
  Date: [Thu, 12 Sep 2013 07:43:09 GMT]
  Content-Length: [46]
  Last-Modified: [Mon, 11 Jun 2007 18:53:14 GMT]
  Keep-Alive: [timeout=5, max=100]
  Content-Type: [text/html]
  Connection: [Keep-Alive]
  Accept-Ranges: [bytes]
  Server: [Apache/2.4.6 (Win32) OpenSSL/1.0.1e]
レスポンスコード[200] レスポンスメッセージ[OK]

---- ボディ ----
<html><body><h1>It works!</h1></body></html>

なんてこったい!

自己解決

```
d:\>java -Dhttps.protocols="TLSv1.2" HttpClientHttpURLConnection
レスポンスヘッダ:
  null: [HTTP/1.1 200 OK]
  ETag: ["2e-432a5e4a73a80"]
  Date: [Thu, 12 Sep 2013 07:43:09 GMT]
  Content-Length: [46]
  Last-Modified: [Mon, 11 Jun 2007 18:53:14 GMT]
  Keep-Alive: [timeout=5, max=100]
  Content-Type: [text/html]
  Connection: [Keep-Alive]
  Accept-Ranges: [bytes]
  Server: [Apache/2.4.6 (Win32) OpenSSL/1.0.1e]
レスポンスコード[200] レスポンスメッセージ[OK]

---- ボディ ----
<html><body><h1>It works!</h1></body></html>
```

なんてこったい!