816件ヒット
[1-100件を表示]
(0.018秒)
別のキーワード
種類
- インスタンスメソッド (708)
- 特異メソッド (48)
- クラス (36)
- 定数 (24)
クラス
-
Net
:: HTTP (504) -
Net
:: HTTPGenericRequest (24) -
Net
:: HTTPResponse (180)
モジュール
-
Net
:: HTTPExceptions (12) -
Net
:: HTTPHeader (60)
キーワード
-
CODE
_ CLASS _ TO _ OBJ (12) -
CODE
_ TO _ OBJ (12) - HTTPBadResponse (12)
- HTTPResponse (12)
- HTTPUnknownResponse (12)
- body (12)
-
body
_ exist? (12) -
body
_ permitted? (12) -
close
_ on _ empty _ response (12) -
close
_ on _ empty _ response= (12) - code (12)
- copy (12)
- delete (12)
- entity (12)
- get (24)
- get2 (24)
-
get
_ fields (12) -
get
_ response (24) - head (12)
- head2 (24)
- header (12)
-
http
_ version (12) - key? (12)
- lock (12)
-
main
_ type (12) - mkcol (12)
- move (12)
- msg (12)
- patch (24)
- post (24)
- post2 (24)
-
post
_ form (12) - propfind (12)
- proppatch (12)
- put (12)
- put2 (24)
-
read
_ body (24) -
reader
_ header (12) - request (24)
-
request
_ get (24) -
request
_ head (24) -
request
_ post (24) -
request
_ put (24) -
response
_ body _ permitted? (12) -
send
_ request (12) -
sub
_ type (12) - trace (12)
-
type
_ params (12) - unlock (12)
- value (12)
検索結果
先頭5件
-
Net
:: HTTPExceptions # response -> Net :: HTTPResponse (18227.0) -
例外の原因となったレスポンスオブジェクトを返します。
...レスポンスオブジェクトを返します。
//emlist[例][ruby]{
require 'net/http'
uri = "http://www.example.com/invalid.html"
response = Net::HTTP.get_response(URI.parse(uri))
begin
response.value
rescue => e
e.response # => #<Net::HTTPNotFound 404 Not Found readbody=true>
end
//}... -
Net
:: HTTPResponse # response -> self (18103.0) -
互換性を保つためだけに導入されたメソッドです。 使わないでください。
互換性を保つためだけに導入されたメソッドです。
使わないでください。
自分自身を返します。 -
Net
:: HTTP . get _ response(host , path = nil , port = nil) -> Net :: HTTPResponse (6204.0) -
指定した対象に GET リクエストを送り、そのレスポンスを Net::HTTPResponse として返します。
...指定した対象に GET リクエストを送り、そのレスポンスを
Net::HTTPResponse として返します。
対象の指定方法は URI で指定するか、
(host, path, port) で指定するかのいずれかです。
@param uri データの取得対象を URI で指定します。... -
Net
:: HTTP . get _ response(uri) -> Net :: HTTPResponse (6204.0) -
指定した対象に GET リクエストを送り、そのレスポンスを Net::HTTPResponse として返します。
...指定した対象に GET リクエストを送り、そのレスポンスを
Net::HTTPResponse として返します。
対象の指定方法は URI で指定するか、
(host, path, port) で指定するかのいずれかです。
@param uri データの取得対象を URI で指定します。... -
Net
:: HTTPGenericRequest # response _ body _ permitted? -> bool (6115.0) -
サーバからのレスポンスにエンティティボディを含むことが許されている HTTP メソッド (GET, POST など)の場合真を返します。
...合真を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
post = Net::HTTP::Post.new(uri.request_uri)
post.response_body_permitted? # => true
head = Net::HTTP::Head.new(uri.request_uri)
head.response_body_permitted? # => false
//}... -
Net
:: HTTP # close _ on _ empty _ response -> bool (6109.0) -
レスポンスがボディを持っていない場合にコネクションを 閉じるかどうかを返します。
...レスポンスがボディを持っていない場合にコネクションを
閉じるかどうかを返します。
デフォルトでは偽(閉じない)です。
@see Net::HTTP#close_on_empty_response=... -
Net
:: HTTP # close _ on _ empty _ response=(bool) (6109.0) -
レスポンスがボディを持っていない場合にコネクションを 閉じるかどうかを設定します。
...ンスがボディを持っていない場合にコネクションを
閉じるかどうかを設定します。
@param bool レスポンスがボディを持っていない場合にコネクションを
閉じるかどうか指定します。
@see Net::HTTP#close_on_empty_response... -
Net
:: HTTPBadResponse (6002.0) -
HTTP のレスポンスが不正であった場合に発生する例外です。
HTTP のレスポンスが不正であった場合に発生する例外です。 -
Net
:: HTTPResponse (6002.0) -
HTTP レスポンスを表現するクラスです。 Net::HTTP クラスは実際には HTTPResponse のサブクラスを返します。
...HTTP レスポンスを表現するクラスです。
Net::HTTP クラスは実際には HTTPResponse のサブクラスを返します。...