るりまサーチ (Ruby 2.1.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.118秒)
トップページ > クエリ:i[x] > クエリ:h[x] > バージョン:2.1.0[x] > クエリ:HTTPS[x] > クエリ:CGIHandler[x] > クエリ:HTTPServer[x]

別のキーワード

  1. _builtin to_h
  2. enumerable to_h
  3. hash to_h
  4. array to_h
  5. openstruct to_h

検索結果

WEBrick::HTTPServer (99037.0)

HTTP サーバの機能を提供するクラスです。

HTTP サーバの機能を提供するクラスです。

以下は HTTP サーバとしてちゃんと動作する例です。

require 'webrick'
srv = WEBrick::HTTPServer.new({:DocumentRoot => '/home/username/public_html/',
:BindAddress => '127.0.0.1',
:Port => 10080})
srv.mount('/hoge.pl', WEBrick::HTTPSe...

WEBrick::HTTPServlet::AbstractServlet (27181.0)

サーブレットの抽象クラスです。実装は AbstractServlet のサブクラスで行います。

サーブレットの抽象クラスです。実装は AbstractServlet のサブクラスで行います。

サーブレットは以下のように使われます。WEBrick::HTTPServlet::CGIHandler は
webrick/httpservlet/cgihandler で提供されているサーブレットです。
CGIHandler は AbstractServlet のサブクラスです。

require 'webrick'
srv = WEBrick::HTTPServer.new({ :DocumentRoot => './',
...