168件ヒット
[1-100件を表示]
(0.130秒)
ライブラリ
クラス
- CGI (24)
-
Net
:: FTP (12) -
Net
:: IMAP (12) -
Net
:: IMAP :: StatusData (24) -
OpenSSL
:: OCSP :: Response (24) -
Process
:: Status (24) - Thread (12)
-
WEBrick
:: HTTPResponse (24)
モジュール
-
OpenURI
:: Meta (12)
キーワード
- attr (12)
- header (12)
- inspect (12)
- mailbox (12)
- out (12)
-
reason
_ phrase (12) -
status
_ line (12) -
status
_ string (12) -
to
_ s (12)
検索結果
先頭5件
-
Thread
# status -> String | false | nil (18233.0) -
生きているスレッドの状態を文字列 "run"、"sleep", "aborting" のいず れかで返します。正常終了したスレッドに対して false、例外によ り終了したスレッドに対して nil を返します。
...hread.new { sleep }
d.kill #=> #<Thread:0x401b3678 aborting>
a.status #=> nil
b.status #=> "sleep"
c.status #=> false
d.status #=> "aborting"
Thread.current.status #=> "run"
@see Thread#alive?, Thread#stop?... -
Net
:: IMAP # status(mailbox , attr) -> {String => Integer} (18225.0) -
STATUS コマンドを送り、mailbox のステータスを得ます。
...STATUS コマンドを送り、mailbox のステータスを得ます。
問い合わせたいステータスは attr に文字列の配列で渡します。
返り値は アトリビュート文字列をキーとするハッシュです。
詳しくは 2060 の 6.3.10 を参考にしてくださ......い。
例:
p imap.status("inbox", ["MESSAGES", "RECENT"])
#=> {"RECENT"=>0, "MESSAGES"=>44}
@param mailbox 問い合わせ対象のメールボックス(文字列)
@param attr 問合せたいアトリビュート名(文字列)の配列
@raise Net::IMAP::NoResponseError メールボックス... -
OpenURI
:: Meta # status -> [String] (18209.0) -
対象となるリソースのステータスコードと reason phrase を文字列の配列として返します。
...対象となるリソースのステータスコードと reason phrase を文字列の配列として返します。
//emlist[例][ruby]{
require 'open-uri'
open('http://example.com/') {|f|
p f.status #=> ["200", "OK"]
}
//}......対象となるリソースのステータスコードと reason phrase を文字列の配列として返します。
//emlist[例][ruby]{
require 'open-uri'
URI.open('http://example.com/') {|f|
p f.status #=> ["200", "OK"]
}
//}... -
Net
:: FTP # status -> String (18203.0) -
現在の状態を返します。
現在の状態を返します。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@raise Net::FTPPermError 応答コードが 5yz のときに発生します。
@raise Net::FTPProtoError 応答コードが RFC 的に正しくない場合に発生します。 -
OpenSSL
:: OCSP :: Response # status -> Integer (18150.0) -
ステータスコードを整数で返します。
...SE_STATUS_SUCCESSFUL
* OpenSSL::OCSP::RESPONSE_STATUS_MALFORMEDREQUEST
* OpenSSL::OCSP::RESPONSE_STATUS_INTERNALERROR
* OpenSSL::OCSP::RESPONSE_STATUS_TRYLATER
* OpenSSL::OCSP::RESPONSE_STATUS_SIGREQUIRED
* OpenSSL::OCSP::RESPONSE_STATUS_UNAUTHORIZED
@see OpenSSL::OCSP::Response#status_st... -
OpenSSL
:: OCSP :: Response # status _ string -> String (12310.0) -
レスポンスステータスを human-readable な文字列で返します。
...レスポンスステータスを human-readable な文字列で返します。
@see OpenSSL::OCSP::Response#status... -
WEBrick
:: HTTPResponse # status _ line -> String (6215.0) -
HTTP のステータスラインを CR+LF 付き文字列で返します。
...HTTP のステータスラインを CR+LF 付き文字列で返します。
require 'webrick'
res = WEBrick::HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.status = 404
p res.status_line #=> "HTTP/1.1 404 Not Found \r\n"... -
Process
:: Status # inspect -> String (3126.0) -
自身を人間が読みやすい形の文字列表現にして返します。
...トで返します。
: 正常終了のとき
#<Process::Status: pid=18262,exited(nnn)>
: シグナルによる停止のとき
#<Process::Status: pid=18262,stopped(SIGxxx=nnn)>
: シグナルによる終了のとき
#<Process::Status: pid=18262,signaled(SIGxxx=nnn)>
: コアダンプしたとき......(このステータスの表示はシステムに依存します)
#<Process::Status: pid=18262,coredumped>... -
Net
:: IMAP :: StatusData # attr -> { String => Integer } (3118.0) -
STATUS 応答の内容をハッシュで返します。
...STATUS 応答の内容をハッシュで返します。
ハッシュのキーは
"MESSAGES", "RECENT", "UIDNEXT", "UIDVALIDITY", "UNSEEN"
などが使われます。
詳しくは 2060 の 6.3.10、7.2.4 を見てください。...