南関東の「いろんなところから富士山が見える」状況に驚きつづけている 大阪から東京に引っ越して30年以上経つが、じわじわと蓄積されてきた驚きがついに閾値を超えたので筆を執った次第である。正確には「ポメラ DM250を起動してmenuキーを押して新規作成を選んだ」のだが、ポメラを持っていなかったら、さらに驚きが蓄積されていないと…
南関東の「いろんなところから富士山が見える」状況に驚きつづけている 大阪から東京に引っ越して30年以上経つが、じわじわと蓄積されてきた驚きがついに閾値を超えたので筆を執った次第である。正確には「ポメラ DM250を起動してmenuキーを押して新規作成を選んだ」のだが、ポメラを持っていなかったら、さらに驚きが蓄積されていないと…
Originally HTTP was designed as a stateless, request / response oriented protocol that made no special provisions for stateful sessions spanning across several logically related request / response exchanges. As HTTP protocol grew in popularity and adoption more and more systems began to use it for applications it was never intended for, for instance as a transport for e-commerce applications. Thus
先週、先々週とJava SEでCookieを扱う方法を解説してきました。そこでは、Java SE 6でCookieを扱うためのCookieManagerクラスが導入され、デフォルトではメモリにCookieを保持することを説明しました。 メモリに保持しているため、アプリケーションが終了すれば、保持していたCookieはすべて消失してしまいます。 できれば、ファイルなどにCookieを保存したいのですが、そのためのクラスはJava SEでは提供されていません。 そこで、今週はCookieの保存、読み込み機能を独自に作成してみましょう。 図1は先週示したものと同じCookie関連のクラス図です。 中心となるのがjava.net.CookieManagerクラス、そして、Cookieを保持するのがjava.net.CookieStoreインタフェースになります。 CookieStoreインタフェー
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く