ライブラリ
-
net
/ http (12) - uri (108)
-
webrick
/ ssl (12)
クラス
-
Net
:: HTTP (12) -
URI
:: Generic (96) -
WEBrick
:: GenericServer (12)
モジュール
- URI (12)
キーワード
- build (24)
- build2 (24)
- component (12)
-
default
_ port (12) - new (36)
- parse (12)
-
use
_ registry (12)
検索結果
先頭5件
- URI
:: Generic . build(ary) -> URI :: Generic - URI
:: Generic . build(hash) -> URI :: Generic - URI
:: Generic . build2(ary) -> URI :: Generic - URI
:: Generic . build2(hash) -> URI :: Generic - URI
:: Generic . new(scheme , userinfo , host , port , registry , path , opaque , query , fragment , parser = URI :: DEFAULT _ PARSER , arg _ check = false) -> URI :: Generic
-
URI
:: Generic . build(ary) -> URI :: Generic (3119.0) -
引数で与えられた URI 構成要素から URI::Generic オブジェクトを生成します。
...引数で与えられた URI 構成要素から URI::Generic オブジェクトを生成します。
@param ary 構成要素を表す配列を与えます。要素は以下の順です。
//emlist{
[scheme, userinfo, host, port, registry, path, opaque, query, fragment]
//}
@param hash 構... -
URI
:: Generic . build(hash) -> URI :: Generic (3119.0) -
引数で与えられた URI 構成要素から URI::Generic オブジェクトを生成します。
...引数で与えられた URI 構成要素から URI::Generic オブジェクトを生成します。
@param ary 構成要素を表す配列を与えます。要素は以下の順です。
//emlist{
[scheme, userinfo, host, port, registry, path, opaque, query, fragment]
//}
@param hash 構... -
URI
:: Generic . build2(ary) -> URI :: Generic (3119.0) -
URI::Generic.build と同じですが、例外 URI::InvalidComponentError が発生した場合に、引数の各要素を URI.escape して再度 build を試み ます。
...URI::Generic.build と同じですが、例外 URI::InvalidComponentError
が発生した場合に、引数の各要素を URI.escape して再度 build を試み
ます。
@param ary 構成要素を表す文字列の配列を与えます。要素は以下の順です。
//emlist{
[scheme, u... -
URI
:: Generic . build2(hash) -> URI :: Generic (3119.0) -
URI::Generic.build と同じですが、例外 URI::InvalidComponentError が発生した場合に、引数の各要素を URI.escape して再度 build を試み ます。
...URI::Generic.build と同じですが、例外 URI::InvalidComponentError
が発生した場合に、引数の各要素を URI.escape して再度 build を試み
ます。
@param ary 構成要素を表す文字列の配列を与えます。要素は以下の順です。
//emlist{
[scheme, u... -
URI
:: Generic . new(scheme , userinfo , host , port , registry , path , opaque , query , fragment , parser = URI :: DEFAULT _ PARSER , arg _ check = false) -> URI :: Generic (3118.0) -
各引数を成分とする URI::Generic オブジェクトを生成して返します。
...各引数を成分とする URI::Generic オブジェクトを生成して返します。
@param scheme 構成要素 scheme を表す文字列を与えます。
@param userinfo 構成要素を表す文字列を与えます。
@param host 構成要素を表す文字列を与えます。
@param p... -
WEBrick
:: GenericServer . new(config = {} , default = WEBrick :: Config :: General) -> WEBrick :: GenericServer (3101.0) -
GenericServer オブジェクトを生成して返します。
...
GenericServer オブジェクトを生成して返します。
config で有効な項目が増えます。以下は増える項目とそのデフォルト値です。
:ServerSoftware => "#{svrsoft} OpenSSL/#{osslv}",
:SSLEnable => true, # Ruby 1.8.3 以降では false がデ... -
URI
:: Generic . use _ registry -> bool (3017.0) -
構成要素 registry を受け付けるなら true を返します。 URI::Generic クラスでは false です。
...構成要素 registry を受け付けるなら true を返します。
URI::Generic クラスでは false です。... -
URI
:: Generic . component -> [Symbol] (3007.0) -
URI の構成要素を表すシンボルの配列を返します。
...URI の構成要素を表すシンボルの配列を返します。
require 'uri'
p URI::Generic.component
p URI::MailTo.component
# => [:scheme, :userinfo, :host, :port, :registry, :path, :opaque, :query, :fragment]
# => [:scheme, :to, :headers]... -
URI
:: Generic . default _ port -> Integer | nil (3007.0) -
スキームに対応するデフォルトのポート番号を整数で返します。
...スキームに対応するデフォルトのポート番号を整数で返します。
require 'uri'
URI::Generic.default_port # => nil
URI::FTP.default_port # => 21
URI::HTTP.default_port # => 80
URI::HTTPS.default_port # => 443
URI::LDAP.default_port...