るりまサーチ

最速Rubyリファレンスマニュアル検索!
456件ヒット [1-100件を表示] (0.046秒)
トップページ > クエリ:g[x] > クエリ:entity[x]

別のキーワード

  1. openssl g
  2. openssl g=
  3. dh g
  4. dsa g
  5. dsa g=

検索結果

<< 1 2 3 ... > >>

REXML::DocType#entity(name) -> String | nil (18225.0)

name という実体参照名を持つ実体を文字列で返します。

...EXML::Entity#unnormalized 参照)
された文字列が返されます。

name という名前を持つ実体が存在しない場合には nil を返します。

@param name 実体参照名(文字列)

//emlist[][ruby]{
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE foo [
<!ENTITY bar "...
...barbarbarbar">
]>
EOS
p doctype.entity("bar") # => "barbarbar"
p doctype.entity("foo") # => nil
//}...

Net::HTTPResponse#entity -> String | () | nil (15207.0)

エンティティボディを返します。

...dapter のインスタンスを返しますが、
これは使わないでください。

entity
は obsolete です。

//emlist[例][ruby]{
require 'net/http'

uri = "http://www.example.com/index.html"
response = Net::HTTP.get_response(URI.parse(uri))
response.body[0..10] # => "<!doctype h"
//}...

WEBrick::HTTPStatus::RequestEntityTooLarge (12016.0)

HTTP のステータスコード 413 Request Entity Too Large を表すクラスです。

...HTTP のステータスコード 413 Request Entity Too Large を表すクラスです。...

Net::HTTPRequestEntityTooLarge (12000.0)

Alias of Net::HTTPPayloadTooLarge

...HTTP レスポンス 413 (Payload Too Large) を表現するクラスです。

詳しくは 7231 Section 6.5.11 を見てください。...
...Alias of Net::HTTPPayloadTooLarge...

REXML::EntityConst::GT -> REXML::Entity (9201.0)

「&gt;」「>」というエンティティを表わすオブジェクト。

...「&gt;」「>」というエンティティを表わすオブジェクト。...

絞り込み条件を変える

REXML::Document.entity_expansion_limit -> Integer (6213.0)

実体参照の展開回数の上限を返します。

...開処理を使った DoS 攻撃に対抗するための
仕組みです。

デフォルトは 10000 です。

このメソッドは Ruby 2.1 から deprecated になりました。
REXML::Security.entity_expansion_limit を使ってください。

@see REXML::Document.entity_expansion_limit=...

REXML::Document.entity_expansion_text_limit -> Integer (6213.0)

実体参照の展開による文字列の増分(テキストのバイト数)の 最大値を指定します。

...トは 10240 (byte) です。

このメソッドは Ruby 2.1 から deprecated になりました。
REXML::Security.entity_expansion_text_limit を使ってください。

@see REXML::Document.entity_expansion_text_limit=,
http://www.ruby-lang.org/ja/news/2013/02/22/rexml-dos-2013-02-22/...

REXML::Security.entity_expansion_limit -> Integer (6207.0)

実体参照の展開回数の上限を返します。

...書(REXML::Document)ごとの展開回数がこの値を越えると
例外を発生させ、処理を中断します。

実体参照の展開処理を使った DoS 攻撃に対抗するための
仕組みです。

デフォルトは 10000 です。

@see REXML::Document.entity_expansion_limit...

REXML::Security.entity_expansion_text_limit -> Integer (6207.0)

実体参照の展開による文字列の増分(テキストのバイト数)の 最大値を指定します。

...せ、処理を中断します。

実体参照の展開処理を使った DoS 攻撃に対抗するための
仕組みです。

デフォルトは 10240 (byte) です。

@see REXML::Document.entity_expansion_text_limit=,
http://www.ruby-lang.org/ja/news/2013/02/22/rexml-dos-2013-02-22/...
<< 1 2 3 ... > >>