Class: HTTPGenericRequest (Net)

Overview
Module Structure
Class Hierarchy
Constants
HTTPGenericRequest::BUFSIZE
Instance Attributes
HTTPGenericRequest#method [R]
HTTPGenericRequest#path [R]
HTTPGenericRequest#body [R]
HTTPGenericRequest#body_stream [R]
Instance Methods
HTTPGenericRequest#initialize / 5
HTTPGenericRequest#inspect
HTTPGenericRequest#request_body_permitted?
HTTPGenericRequest#response_body_permitted?
HTTPGenericRequest#body_exist?
HTTPGenericRequest#body= / 1
HTTPGenericRequest#body_stream= / 1
HTTPGenericRequest#set_body_internal / 1
HTTPGenericRequest#exec / 3
HTTPGenericRequest#send_request_with_body / 4
HTTPGenericRequest#send_request_with_body_stream / 4
HTTPGenericRequest#supply_default_content_type
HTTPGenericRequest#write_header / 3
is a submodule of
module: Net   
includes
  HTTPHeader ( Net )
inherits from
  Object ( Builtin-Module )
is inherited by
  HTTPRequest ( Net )
has properties
constant: BUFSIZE   
method: initialize / 5   
attribute: method [R]   
attribute: path [R]   
method: inspect   
method: request_body_permitted?   
method: response_body_permitted?   
method: body_exist?   
attribute: body [R]   
method: body= / 1   
attribute: body_stream [R]   
method: body_stream= / 1   
method: set_body_internal / 1   
method: exec / 3   
method: send_request_with_body / 4   
method: send_request_with_body_stream / 4   
method: supply_default_content_type   
method: write_header / 3   
is defined at
#1468 in net/http.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: <Built-in Module>
  module: Net
module: HTTPHeader     
class: HTTPGenericRequest     
class: HTTPRequest     

Class Hierarchy

Object ( Builtin-Module )
HTTPGenericRequest ( Net )
includes
  HTTPHeader ( Net )
has properties
constant: BUFSIZE   
method: initialize / 5   
attribute: method [R]   
attribute: path [R]   
method: inspect   
method: request_body_permitted?   
method: response_body_permitted?   
method: body_exist?   
attribute: body [R]   
method: body= / 1   
attribute: body_stream [R]   
method: body_stream= / 1   
method: set_body_internal / 1   
method: exec / 3   
method: send_request_with_body / 4   
method: send_request_with_body_stream / 4   
method: supply_default_content_type   
method: write_header / 3   
  HTTPRequest     

Constants

HTTPGenericRequest::BUFSIZE

#1472 in net/http.rb

BUFSIZE = 16*1024   

Instance Attributes

HTTPGenericRequest#method [R]

#1486 in net/http.rb

HTTPGenericRequest#path [R]

#1487 in net/http.rb

HTTPGenericRequest#body [R]

#1506 in net/http.rb

HTTPGenericRequest#body_stream [R]

#1514 in net/http.rb

Instance Methods

HTTPGenericRequest#initialize / 5

#1474 in net/http.rb

initialize ( m ,
  reqbody ,
  resbody ,
  path ,
  initheader = nil )

HTTPGenericRequest#inspect

#1489 in net/http.rb

inspect

HTTPGenericRequest#request_body_permitted?

#1493 in net/http.rb

request_body_permitted?

HTTPGenericRequest#response_body_permitted?

#1497 in net/http.rb

response_body_permitted?

HTTPGenericRequest#body_exist?

#1501 in net/http.rb

body_exist?

HTTPGenericRequest#body= / 1

#1508 in net/http.rb

body= ( str )

HTTPGenericRequest#body_stream= / 1

#1516 in net/http.rb

body_stream= ( input )

HTTPGenericRequest#set_body_internal / 1

#1522 in net/http.rb

set_body_internal ( str )

HTTPGenericRequest#exec / 3

#1531 in net/http.rb

exec ( sock ,
  ver ,
  path )

HTTPGenericRequest#send_request_with_body / 4

#1543 in net/http.rb

send_request_with_body ( sock ,
  ver ,
  path ,
  body )

HTTPGenericRequest#send_request_with_body_stream / 4

#1551 in net/http.rb

send_request_with_body_stream ( sock ,
  ver ,
  path ,
  f )

HTTPGenericRequest#supply_default_content_type

#1570 in net/http.rb

supply_default_content_type

HTTPGenericRequest#write_header / 3

#1576 in net/http.rb

write_header ( sock ,
  ver ,
  path )