クラス
-
URI
:: FTP (66) -
URI
:: Generic (594) -
URI
:: HTTP (44) -
URI
:: LDAP (143) -
URI
:: LDAPS (11) -
URI
:: MailTo (99)
キーワード
- + (11)
- - (11)
- == (11)
- BadURIError (11)
- COMPONENT (11)
-
DEFAULT
_ PORT (22) - Error (11)
- FTP (11)
- Generic (11)
- HTTP (11)
- HTTPS (11)
- InvalidComponentError (11)
- InvalidURIError (11)
- LDAP (11)
- LDAPS (11)
- MailTo (11)
- UNSAFE (11)
- URI (22)
- absolute (11)
- absolute? (11)
- attributes (11)
- attributes= (11)
- build (110)
- build2 (22)
- coerce (11)
- component (22)
- decode (7)
-
decode
_ www _ form (11) -
decode
_ www _ form _ component (11) -
default
_ port (22) - dn (11)
- dn= (11)
- encode (7)
-
encode
_ www _ form (11) -
encode
_ www _ form _ component (11) - escape (7)
- extensions (11)
- extensions= (11)
- extract (44)
- filter (11)
- filter= (11)
-
find
_ proxy (11) - fragment (11)
- fragment= (11)
- headers (11)
- headers= (11)
- hierarchical? (11)
- host (11)
- host= (11)
- hostname (11)
- hostname= (11)
- join (11)
- merge (11)
- merge! (11)
- new (55)
- new2 (11)
- normalize (11)
- normalize! (11)
- opaque (11)
- opaque= (11)
- parse (11)
- parser (11)
- password (11)
- password= (11)
- path (11)
- path= (11)
- port (11)
- port= (11)
- query (11)
- query= (11)
- regexp (22)
- registry (11)
- registry= (11)
- relative? (11)
-
request
_ uri (11) -
route
_ from (11) -
route
_ to (11) - scheme (11)
- scheme= (11)
- scope (11)
- scope= (11)
- select (11)
- split (11)
- to (11)
- to= (11)
-
to
_ mailtext (11) -
to
_ rfc822text (11) -
to
_ s (11) - typecode (11)
- typecode= (11)
- unescape (7)
-
use
_ registry (11) - user (11)
- user= (11)
- userinfo (11)
- userinfo= (11)
検索結果
先頭5件
-
URI
:: Generic . build(hash) -> URI :: Generic (2.0) -
引数で与えられた URI 構成要素から URI::Generic オブジェクトを生成します。
...引数で与えられた URI 構成要素から URI::Generic オブジェクトを生成します。
@param ary 構成要素を表す配列を与えます。要素は以下の順です。
//emlist{
[scheme, userinfo, host, port, registry, path, opaque, query, fragment]
//}
@param hash 構......シンボルは以下のいずれかです。
ハッシュの値は文字列で与えます。
//emlist{
:scheme ,:userinfo, :host, :port, :registry, :path, :opaque, :query, :fragment
//}
@raise URI::InvalidComponentError 各要素が適合しない場合に発生します。... -
URI
:: Generic . build2(ary) -> URI :: Generic (2.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 (2.0) -
URI::Generic.build と同じですが、例外 URI::InvalidComponentError が発生した場合に、引数の各要素を URI.escape して再度 build を試み ます。
...
URI::Generic.build と同じですが、例外 URI::InvalidComponentError
が発生した場合に、引数の各要素を URI.escape して再度 build を試み
ます。
@param ary 構成要素を表す文字列の配列を与えます。要素は以下の順です。
//emlist{
[scheme, u... -
URI
:: Generic . component -> [Symbol] (2.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 (2.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 # => 389
URI::LDAPS.default_port # => 636
URI::MailTo.default_port... -
URI
:: Generic . new(scheme , userinfo , host , port , registry , path , opaque , query , fragment , parser = URI :: DEFAULT _ PARSER , arg _ check = false) -> URI :: Generic (2.0) -
各引数を成分とする URI::Generic オブジェクトを生成して返します。
...各引数を成分とする URI::Generic オブジェクトを生成して返します。
@param scheme 構成要素 scheme を表す文字列を与えます。
@param userinfo 構成要素を表す文字列を与えます。
@param host 構成要素を表す文字列を与えます。
@param p......heck 真が与えられた場合は、各引数が字句規則に適合しているか否かを検査します。適合しない場合は例外 URI::InvalidComponentError が起ります。
@raise URI::InvalidURIError use_registry が偽のとき、registry が与えられると発生します。... -
URI
:: Generic . use _ registry -> bool (2.0) -
構成要素 registry を受け付けるなら true を返します。 URI::Generic クラスでは false です。
...構成要素 registry を受け付けるなら true を返します。
URI::Generic クラスでは false です。... -
URI
:: Generic :: COMPONENT -> [Symbol] (2.0) -
URI::Generic で利用可能なコンポーネントの一覧です。
...
URI::Generic で利用可能なコンポーネントの一覧です。... -
URI
:: Generic :: DEFAULT _ PORT -> nil (2.0) -
URI::Generic のデフォルトポート(nil)です。
...
URI::Generic のデフォルトポート(nil)です。... -
URI
:: HTTP (2.0) -
HTTP URI を表すクラスです。
...HTTP URI を表すクラスです。...