クラス
-
WEBrick
:: HTTPRequest (65) -
WEBrick
:: HTTPServer (91) -
WEBrick
:: HTTPServer :: MountTable (65) -
WEBrick
:: HTTPServlet :: AbstractServlet (117) -
WEBrick
:: HTTPServlet :: CGIHandler (65) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (65) -
WEBrick
:: HTTPServlet :: ERBHandler (39) -
WEBrick
:: HTTPServlet :: FileHandler (104) -
WEBrick
:: HTTPServlet :: ProcHandler (52)
モジュール
-
WEBrick
:: Config (13) -
WEBrick
:: HTTPStatus (624)
キーワード
- AbstractServlet (13)
- Accepted (13)
- BadGateway (13)
- BadRequest (13)
- CGIHandler (13)
- CGIRunner (13)
- ClientError (13)
- Conflict (13)
- Continue (13)
- Created (13)
- DefaultFileHandler (13)
- EOFError (13)
- ERBHandler (13)
- Error (13)
- ExpectationFailed (13)
- FileHandler (13)
- Forbidden (13)
- Found (13)
- GatewayTimeout (13)
- Gone (13)
- HTTP (13)
- HTTPServer (13)
- HTTPServerError (13)
- HTTPServletError (13)
- HTTPStatus (13)
- HTTPVersionNotSupported (13)
- HandlerTable (13)
- Info (13)
- InternalServerError (13)
- LengthRequired (13)
- MethodNotAllowed (13)
- MountTable (13)
- MovedPermanently (13)
- MultipleChoices (13)
- NoContent (13)
- NonAuthoritativeInformation (13)
- NotAcceptable (13)
- NotFound (13)
- NotImplemented (13)
- NotModified (13)
- OK (13)
- PartialContent (13)
- PaymentRequired (13)
- PreconditionFailed (13)
- ProcHandler (13)
- ProxyAuthenticationRequired (13)
-
RC
_ ACCEPTED (13) -
RC
_ BAD _ GATEWAY (13) -
RC
_ BAD _ REQUEST (13) -
RC
_ CONFLICT (13) -
RC
_ CONTINUE (13) -
RC
_ CREATED (13) -
RC
_ EXPECTATION _ FAILED (13) -
RC
_ FORBIDDEN (13) -
RC
_ FOUND (13) -
RC
_ GATEWAY _ TIMEOUT (13) -
RC
_ GONE (13) -
RC
_ HTTP _ VERSION _ NOT _ SUPPORTED (13) -
RC
_ INTERNAL _ SERVER _ ERROR (13) -
RC
_ LENGTH _ REQUIRED (13) -
RC
_ METHOD _ NOT _ ALLOWED (13) -
RC
_ MOVED _ PERMANENTLY (13) -
RC
_ MULTIPLE _ CHOICES (13) -
RC
_ NON _ AUTHORITATIVE _ INFORMATION (13) -
RC
_ NOT _ ACCEPTABLE (13) -
RC
_ NOT _ FOUND (13) -
RC
_ NOT _ IMPLEMENTED (13) -
RC
_ NOT _ MODIFIED (13) -
RC
_ NO _ CONTENT (13) -
RC
_ OK (13) -
RC
_ PARTIAL _ CONTENT (13) -
RC
_ PAYMENT _ REQUIRED (13) -
RC
_ PRECONDITION _ FAILED (13) -
RC
_ PROXY _ AUTHENTICATION _ REQUIRED (13) -
RC
_ REQUEST _ ENTITY _ TOO _ LARGE (13) -
RC
_ REQUEST _ RANGE _ NOT _ SATISFIABLE (13) -
RC
_ REQUEST _ TIMEOUT (13) -
RC
_ REQUEST _ URI _ TOO _ LARGE (13) -
RC
_ RESET _ CONTENT (13) -
RC
_ SEE _ OTHER (13) -
RC
_ SERVICE _ UNAVAILABLE (13) -
RC
_ SWITCHING _ PROTOCOLS (13) -
RC
_ TEMPORARY _ REDIRECT (13) -
RC
_ UNAUTHORIZED (13) -
RC
_ UNSUPPORTED _ MEDIA _ TYPE (13) -
RC
_ USE _ PROXY (13) - Redirect (13)
- RequestEntityTooLarge (13)
- RequestRangeNotSatisfiable (13)
- RequestTimeout (13)
- RequestURITooLarge (13)
- ResetContent (13)
- Ruby (13)
- SeeOther (13)
- ServerError (13)
- ServiceUnavailable (13)
- Status (13)
- Success (13)
- SwitchingProtocols (13)
- TemporaryRedirect (13)
- UnsupportedMediaType (13)
- UseProxy (13)
- [] (26)
- []= (13)
-
add
_ handler (13) - cipher (13)
-
client
_ cert (13) -
client
_ error? (13) - delete (13)
-
do
_ DELETE (13) -
do
_ GET (78) -
do
_ HEAD (13) -
do
_ OPTIONS (26) -
do
_ POST (65) -
do
_ PUT (13) - error? (13)
-
get
_ instance (26) - info? (13)
-
make
_ partial _ content (13) - mount (13)
-
mount
_ proc (26) - new (104)
-
not
_ modified? (13) - parse (13)
-
prepare
_ range (13) -
reason
_ phrase (13) - redirect? (13)
-
remove
_ handler (13) - scan (13)
-
server
_ cert (13) -
server
_ error? (13) - service (26)
- success? (13)
- umount (13)
- unmount (13)
-
virtual
_ host (13)
検索結果
先頭5件
-
WEBrick
:: Config :: HTTP -> Hash (2.0) -
WEBrick::Config::SSL の内容がマージされています。
WEBrick::Config::SSL の内容がマージされています。 -
WEBrick
:: HTTPRequest # cipher -> Array (2.0) -
現在実際に使われている暗号の情報を配列で返します。
現在実際に使われている暗号の情報を配列で返します。
@see OpenSSL::SSL::SSLSocket#cipher -
WEBrick
:: HTTPRequest # client _ cert -> OpenSSL :: X509 :: Certificate (2.0) -
クライアント証明書を表すオブジェクトを返します。
クライアント証明書を表すオブジェクトを返します。
@see OpenSSL::X509::Certificate -
WEBrick
:: HTTPRequest # meta _ vars -> Hash (2.0) -
メタ変数を返します。
メタ変数を返します。 -
WEBrick
:: HTTPRequest # parse(socket = nil) -> () (2.0) -
指定された socket からクライアントのリクエストを読み込み、 自身のアクセサなどを適切に設定します。
指定された socket からクライアントのリクエストを読み込み、
自身のアクセサなどを適切に設定します。
@param socket クライアントに接続された IO オブジェクトを指定します。 -
WEBrick
:: HTTPRequest # server _ cert -> OpenSSL :: X509 :: Certificate (2.0) -
サーバ証明書を表すオブジェクトを返します。
サーバ証明書を表すオブジェクトを返します。
@see OpenSSL::X509::Certificate -
WEBrick
:: HTTPServer (1.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
:: HTTPServer # mount(dir , servlet , *options) -> () (1.0) -
サーバ上のディレクトリ dir にサーブレット servlet を対応させます。
サーバ上のディレクトリ dir にサーブレット servlet を対応させます。
@param dir ディレクトリをあらわす文字列を指定します。
@param servlet WEBrick::HTTPServlet::AbstractServlet のサブクラスのインスタンスを指定します。
@param options サーブレットのコンストラクタの引数を指定します。
require 'webrick'
include WEBrick
srv = HTTPServer.new( { :BindAddress => '127.0.0.1', :Port => 10080...
