Introduction This document provides an overview of how to use HttpClient safely from within a multi-threaded environment. It is broken down into the following main sections: MultiThreadedHttpConnectionManager Connection Release Please see the MultiThreadedExample for a concrete example. MultiThreadedHttpConnectionManager The main reason for using multiple theads in HttpClient is to allow the execu
概要 通常ECサイトなどを構築する場合、VeriSign などの「信頼できる認証局」によって発行された証明書を使ってSSLサーバを構築する。 しかし、テスト環境などで自分で発行した証明書を使ったSSLサーバを構築した場合、ブラウザでアクセスしようとすると画面上に警告が表示されたりする。 同様に、Javaプログラムから接続しようとすると エラーが発生する。 証明書のチェックを行わないように設定することで、この問題を回避できる。 java.net.URL を使った方法 問題再現手順 次のように自分で発行した証明書のサーバに接続しようとすると、エラーが発生する。 import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; i
The page you are trying to reach does not exist, or has been moved. Please use the menus or the search box to find what you are looking for.
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く