ライブラリ
- ビルトイン (42)
-
cgi
/ session (12) - drb (192)
-
drb
/ extserv (12) -
drb
/ extservm (24) -
net
/ http (751) - open-uri (236)
- optparse (12)
-
rexml
/ document (180) -
rexml
/ parsers / sax2parser (60) -
rexml
/ sax2listener (48) -
rexml
/ streamlistener (24) -
rinda
/ rinda (12) -
rinda
/ tuplespace (12) - rss (12)
-
rubygems
/ dependency _ installer (24) -
rubygems
/ format (24) -
rubygems
/ package / tar _ input (24) -
rubygems
/ remote _ fetcher (168) -
rubygems
/ security (444) -
rubygems
/ server (72) -
rubygems
/ source _ index (12) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ source _ info _ cache _ entry (12) -
rubygems
/ spec _ fetcher (36) -
rubygems
/ specification (24) - socket (72)
- syslog (12)
- uri (1396)
-
webrick
/ cgi (12) -
webrick
/ httpproxy (12) -
webrick
/ httprequest (108) -
webrick
/ httpresponse (24) -
webrick
/ httpserver (12) -
webrick
/ httpstatus (492) - win32ole (48)
クラス
-
CGI
:: Session (12) -
DRb
:: DRbObject (60) -
DRb
:: DRbServer (36) -
DRb
:: ExtServ (12) -
DRb
:: ExtServManager (24) -
Gem
:: DependencyInstaller (24) -
Gem
:: Format (24) -
Gem
:: Package :: TarInput (24) -
Gem
:: RemoteFetcher (144) -
Gem
:: RemoteFetcher :: FetchError (24) -
Gem
:: Security :: Policy (180) -
Gem
:: Security :: Signer (72) -
Gem
:: Server (72) -
Gem
:: SourceIndex (12) -
Gem
:: SourceInfoCacheEntry (12) -
Gem
:: SpecFetcher (36) -
Gem
:: Specification (24) -
Net
:: HTTP (132) -
Net
:: HTTPGenericRequest (96) -
Net
:: HTTPResponse (108) - Object (30)
-
REXML
:: Attribute (12) -
REXML
:: Attributes (24) -
REXML
:: Element (48) -
REXML
:: Entity (12) -
REXML
:: NotationDecl (24) -
REXML
:: Parsers :: SAX2Parser (60) -
RSS
:: NSError (12) -
Rinda
:: DRbObjectTemplate (12) - Socket (36)
-
URI
:: FTP (72) -
URI
:: Generic (648) -
URI
:: HTTP (48) -
URI
:: LDAP (156) -
URI
:: LDAPS (12) -
URI
:: MailTo (108) -
WEBrick
:: CGI (12) -
WEBrick
:: HTTPProxyServer (12) -
WEBrick
:: HTTPRequest (108) -
WEBrick
:: HTTPResponse (24) -
WEBrick
:: HTTPServer (12) - WIN32OLE (12)
-
WIN32OLE
_ EVENT (24)
モジュール
- DRb (48)
-
Gem
:: LocalRemoteOptions (12) -
Gem
:: Security (144) - Kernel (28)
-
Net
:: HTTPExceptions (12) -
Net
:: HTTPHeader (372) - OpenURI (24)
-
OpenURI
:: Meta (96) -
OpenURI
:: OpenRead (36) -
REXML
:: SAX2Listener (48) -
REXML
:: Security (48) -
REXML
:: StreamListener (24) -
Socket
:: Constants (36) -
Syslog
:: Facility (12) - URI (212)
-
WEBrick
:: HTTPStatus (480)
キーワード
- + (12)
- - (12)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - == (24)
- AlmostNoSecurity (12)
- BadURIError (12)
- COMPONENT (12)
-
DEFAULT
_ PORT (24) - DRbBadScheme (12)
- DRbBadURI (12)
- DRbIdConv (12)
- DRbProtocol (12)
- Error (12)
- Exception (12)
- FTP (12)
- Generic (12)
- HTTP (12)
- HTTPError (12)
- HTTPRequestURITooLarge (12)
- HTTPRequestURITooLong (12)
- HTTPS (12)
- HTTPURITooLong (7)
- HighSecurity (12)
- InvalidComponentError (12)
- InvalidURIError (12)
- LDAP (12)
- LDAPS (12)
-
LOG
_ SECURITY (12) - LowSecurity (12)
- MailTo (12)
- Marshal (12)
- MediumSecurity (12)
- Meta (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - NoSecurity (12)
- OPT (12)
- OpenRead (12)
- OpenURI (12)
- OptionParser (12)
- Policies (12)
- Policy (12)
-
RC
_ ACCEPTED (12) -
RC
_ BAD _ GATEWAY (12) -
RC
_ BAD _ REQUEST (12) -
RC
_ CONFLICT (12) -
RC
_ CONTINUE (12) -
RC
_ CREATED (12) -
RC
_ EXPECTATION _ FAILED (12) -
RC
_ FORBIDDEN (12) -
RC
_ FOUND (12) -
RC
_ GATEWAY _ TIMEOUT (12) -
RC
_ GONE (12) -
RC
_ HTTP _ VERSION _ NOT _ SUPPORTED (12) -
RC
_ INTERNAL _ SERVER _ ERROR (12) -
RC
_ LENGTH _ REQUIRED (12) -
RC
_ METHOD _ NOT _ ALLOWED (12) -
RC
_ MOVED _ PERMANENTLY (12) -
RC
_ MULTIPLE _ CHOICES (12) -
RC
_ NON _ AUTHORITATIVE _ INFORMATION (12) -
RC
_ NOT _ ACCEPTABLE (12) -
RC
_ NOT _ FOUND (12) -
RC
_ NOT _ IMPLEMENTED (12) -
RC
_ NOT _ MODIFIED (12) -
RC
_ NO _ CONTENT (12) -
RC
_ OK (12) -
RC
_ PARTIAL _ CONTENT (12) -
RC
_ PAYMENT _ REQUIRED (12) -
RC
_ PRECONDITION _ FAILED (12) -
RC
_ PROXY _ AUTHENTICATION _ REQUIRED (12) -
RC
_ REQUEST _ ENTITY _ TOO _ LARGE (12) -
RC
_ REQUEST _ RANGE _ NOT _ SATISFIABLE (12) -
RC
_ REQUEST _ TIMEOUT (12) -
RC
_ REQUEST _ URI _ TOO _ LARGE (12) -
RC
_ RESET _ CONTENT (12) -
RC
_ SEE _ OTHER (12) -
RC
_ SERVICE _ UNAVAILABLE (12) -
RC
_ SWITCHING _ PROTOCOLS (12) -
RC
_ TEMPORARY _ REDIRECT (12) -
RC
_ UNAUTHORIZED (12) -
RC
_ UNSUPPORTED _ MEDIA _ TYPE (12) -
RC
_ USE _ PROXY (12) - RequestURITooLarge (12)
-
SO
_ SECURITY _ AUTHENTICATION (24) -
SO
_ SECURITY _ ENCRYPTION _ NETWORK (24) -
SO
_ SECURITY _ ENCRYPTION _ TRANSPORT (24) - Security (24)
- SecurityError (12)
- Signer (12)
- SourceInfoCache (12)
- TupleSpace (12)
- UNSAFE (12)
- URI (24)
-
WIN32OLE
_ EVENT (12) - [] (12)
- []= (12)
-
_ _ drbref (12) -
_ _ drburi (12) - absolute (12)
- absolute? (12)
-
accept
_ uri _ http (12) -
add
_ namespace (24) -
add
_ trusted _ cert (12) - attribute (12)
- attributes (12)
- attributes= (12)
-
base
_ uri (12) -
basic
_ auth (12) - body (24)
- body= (12)
-
body
_ stream (12) -
body
_ stream= (12) - build (120)
- build2 (24)
-
build
_ cert (12) -
build
_ self _ signed _ cert (12) -
cache
_ dir (12) -
cert
_ chain (12) -
cert
_ chain= (12) - charset (24)
- chunked? (12)
- code (12)
- coerce (12)
- component (24)
- connect (12)
-
connection
_ for (12) -
content
_ encoding (12) -
content
_ length (12) -
content
_ length= (12) -
content
_ range (12) -
content
_ type (24) -
content
_ type= (12) -
current
_ server (12) - decode (7)
-
decode
_ www _ form (12) -
decode
_ www _ form _ component (12) -
default
_ port (24) - delete (12)
- dn (12)
- dn= (12)
- doctype (24)
- download (12)
- drb (12)
-
drb
/ extservm (12) -
drb
/ gw (12) -
drb
/ ssl (12) -
drb
/ unix (12) - each (12)
-
each
_ capitalized _ name (12) -
each
_ header (12) -
each
_ key (12) -
each
_ name (12) -
each
_ value (12) - encode (7)
-
encode
_ www _ form (12) -
encode
_ www _ form _ component (12) -
end
_ element (12) - entity (12)
-
entity
_ expansion _ limit (12) -
entity
_ expansion _ limit= (12) -
entity
_ expansion _ text _ limit (12) -
entity
_ expansion _ text _ limit= (12) - eql? (12)
- escape (19)
- extensions (12)
- extensions= (12)
- extract (48)
- fetch (36)
-
fetch
_ path (12) -
fetch
_ size (12) -
fetch
_ spec (12) -
file
_ uri? (12) - filter (12)
- filter= (12)
-
find
_ gems _ with _ sources (12) -
find
_ proxy (12) -
find
_ spec _ by _ name _ and _ version (12) -
form
_ data= (12) - fragment (12)
- fragment= (12)
-
from
_ file _ by _ path (12) -
from
_ io (12) - get (24)
-
get
_ attribute _ ns (12) -
get
_ fields (12) -
get
_ file _ uri _ path (12) -
get
_ print (24) -
get
_ proxy _ from _ env (12) -
get
_ response (24) - handler= (12)
- headers (12)
- headers= (12)
- here? (24)
- hierarchical? (12)
- homepage (12)
- homepage= (12)
- host (24)
- host= (12)
- hostname (12)
- hostname= (12)
-
http
_ version (12) - join (12)
- key (12)
- key= (12)
- key? (12)
-
last
_ modified (12) -
latest
_ specs (12) - listen (60)
-
load
_ specs (12) -
main
_ type (12) - merge (12)
- merge! (12)
- method (24)
- msg (12)
- namespace (24)
- namespaces (12)
-
net
/ http (12) - new (216)
- new2 (12)
-
new
_ with _ uri (12) - normalize (12)
- normalize! (12)
-
normalize
_ uri (12) - notationdecl (12)
-
only
_ signed (12) -
only
_ signed= (12) -
only
_ trusted (12) -
only
_ trusted= (12) - opaque (12)
- opaque= (12)
- open (68)
- open-uri (12)
-
open
_ uri (24) -
open
_ uri _ or _ path (12) -
optparse
/ uri (12) - parse (12)
- parser (12)
- password (12)
- password= (12)
- path (36)
- path= (12)
-
path
_ info (12) -
path
_ info= (12) - port (12)
- port= (12)
-
post
_ form (12) -
proxy
_ basic _ auth (12) -
proxy
_ uri (12) - query (12)
- query= (12)
-
query
_ string (12) -
query
_ string= (12) - quick (12)
- range (12)
-
range
_ length (12) - read (12)
-
read
_ body (24) - ref (12)
- refresh (12)
- regexp (24)
- registry (12)
- registry= (12)
- relative? (12)
- request (12)
-
request
_ body _ permitted? (12) -
request
_ uri (36) -
request
_ uri= (12) - response (12)
-
response
_ body _ permitted? (12) -
rexml
/ parsers / pullparser (12) -
rexml
/ parsers / sax2parser (12) -
rexml
/ parsers / ultralightparser (12) -
rinda
/ rinda (12) - root (12)
-
route
_ from (12) -
route
_ to (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) - rubygems (12)
-
rubygems
/ commands / mirror _ command (12) -
rubygems
/ commands / sources _ command (12) -
rubygems
/ security (12) - scheme (12)
- scheme= (12)
- scope (12)
- scope= (12)
- select (12)
-
set
_ content _ type (12) -
set
_ form _ data (12) - sign (12)
-
sign
_ cert (12) - specs (12)
- split (12)
- ssl? (12)
- start (24)
-
start
_ element (12) -
start
_ prefix _ mapping (12) -
start
_ service (12) - status (12)
-
sub
_ type (12) - system (12)
- then (14)
- to (12)
- to= (12)
-
to
_ mailtext (12) -
to
_ rfc822text (12) -
to
_ s (12) -
trusted
_ cert _ path (12) -
type
_ params (12) - typecode (12)
- typecode= (12)
- unescape (19)
-
unparsed
_ uri (12) - update (12)
- uri= (12)
-
use
_ registry (12) - user (12)
- user= (12)
- userinfo (12)
- userinfo= (12)
- value (12)
-
verify
_ chain (12) -
verify
_ chain= (12) -
verify
_ data (12) -
verify
_ data= (12) -
verify
_ gem (12) -
verify
_ root (12) -
verify
_ root= (12) -
verify
_ signer (12) -
verify
_ signer= (12) -
verify
_ trust _ dir (12) - yaml (12)
-
yield
_ self (16)
検索結果
先頭5件
-
uri (38028.0)
-
URI (Uniform Resource Identifier) のためのライブラリです。
...URI (Uniform Resource Identifier) のためのライブラリです。
=== 関連 RFC
以下は実装の際に参照されている RFC であり、最新の RFC であるとは限りません。
* 1738 Uniform Resource Locators (URL) (Updated by 2396)
* 2255 The LDAP UR......(Obsoleted by 3513)
* 2396 Uniform Resource Identifiers (URI): Generic Syntax (Obsoleted by 3986)
* 2732 Format for Literal IPv6 Addresses in URL's (Obsoleted by 3986)
* 3986 Uniform Resource Identifier (URI): Generic Syntax
* 3987 Internationalized Resource Identifiers... -
Gem
:: RemoteFetcher :: FetchError # uri -> URI (18218.0) -
問題が発生した URI を返します。
...問題が発生した URI を返します。... -
DRb
:: ExtServManager # uri -> String|nil (18129.0) -
サービス起動時にプロセスを spawn する時に渡す URI を返します。
...サービス起動時にプロセスを spawn する時に渡す URI を返します。
デフォルトは nil で、これは DRb.#uri を用いることを意味します。
@see DRb::ExtServManager#uri=... -
DRb
. # uri -> String (18117.0) -
カレントサーバに紐付けられた URI を返します。
...カレントサーバに紐付けられた URI を返します。
@see DRb.#current_server... -
DRb
:: DRbServer # uri -> String|nil (18117.0) -
サーバに紐付けられた URI を返します。
...サーバに紐付けられた URI を返します。... -
RSS
:: NSError # uri (18101.0) -
@todo
@todo -
URI
. parse(uri _ str) -> object (17221.0) -
与えられた URI から該当する URI::Generic のサブクラスのインスタンスを生成して 返します。scheme が指定されていない場合は、URI::Generic オブジェクトを返します。
...た URI から該当する URI::Generic のサブクラスのインスタンスを生成して
返します。scheme が指定されていない場合は、URI::Generic オブジェクトを返します。
@param uri_str パースしたい URI を文字列として与えます。
@raise URI::Inval......@raise URI::InvalidURIError パースに失敗した場合に発生します。
例:
require 'uri'
p uri = URI.parse("http://www.ruby-lang.org/")
# => #<URI::HTTP:0x201002a6 URL:http://www.ruby-lang.org/>
p uri.scheme # => "http"
p uri.host # => "www.ruby-lang.org"
p uri.port......# => 80
p uri.path # => "/"... -
URI
. join(uri _ str , *path) -> object (17209.0) -
文字列 uri_str と path ... を URI として連結して得られる URI オブジェクトを返します。
...文字列 uri_str と path ... を URI として連結して得られる
URI オブジェクトを返します。
2396 の Section 5.2 の
仕様に従って連結します。
以下と等価です
require 'uri'
URI.parse(uri_str) + path + ...
@param uri_str URI 文字列
@param path 後ろ......する文字列
@raise URI::InvalidComponentError 各要素が適合しない場合に発生します。
@raise URI::InvalidURIError パースに失敗した場合に発生します。
例:
require 'uri'
p URI.join('http://www.ruby-lang.org/', '/ja/man-1.6/')
=> #<URI::HTTP:0x2010017a URL:... -
URI
. extract(str) {|uri _ str| . . . } -> nil (17152.0) -
文字列 str に対してパターンマッチングを試み、 絶対URIにマッチした部分文字列からなる配列として返します。 抽出する URI がなければ空の配列を返します。
...文字列 str に対してパターンマッチングを試み、
絶対URIにマッチした部分文字列からなる配列として返します。
抽出する URI がなければ空の配列を返します。
第2引数に文字列の配列 schemes が与えられた場合は
そのスキー......ムだけを検索します。
ブロックが与えられた場合は String#scan と同様で、
マッチした部分がみつかるたびに uri_str に
その部分を代入してブロックを評価します。
このときは nil を返します。
このメソッドは Ruby 2.2 から obs......対象としたいスキームを、文字列の配列として与えます。
例:
require 'uri'
str = "
http://www.ruby-lang.org/
http://www.ruby-lang.org/man-1.6/
"
p URI.extract(str, ["http"])
=> ["http://www.ruby-lang.org/", "http://www.ruby-lang.org/man-1.6/"]...