Class: HTTPResponse (Net)

Overview
Module Structure
Class Hierarchy
Constants
HTTPResponse::CODE_CLASS_TO_OBJ
HTTPResponse::CODE_TO_OBJ
Class Methods
HTTPResponse.body_permitted?
HTTPResponse.exception_type
HTTPResponse.read_new / 1
HTTPResponse.read_status_line / 1
HTTPResponse.response_class / 1
HTTPResponse.each_response_header / 1
Instance Aliases
HTTPResponse#msg
HTTPResponse#entity
Instance Attributes
HTTPResponse#http_version [R]
HTTPResponse#code [R]
HTTPResponse#message [R]
Instance Methods
HTTPResponse#initialize / 3
HTTPResponse#inspect
HTTPResponse#to_ary
HTTPResponse#code_type
HTTPResponse#error!
HTTPResponse#error_type
HTTPResponse#value
HTTPResponse#response
HTTPResponse#header
HTTPResponse#read_header
HTTPResponse#reading_body / 2
HTTPResponse#read_body / 2
HTTPResponse#body
HTTPResponse#read_body_0 / 1
HTTPResponse#read_chunked / 1
HTTPResponse#stream_check
HTTPResponse#procdest / 2
is a submodule of
module: Net   
includes
  HTTPHeader ( Net )
inherits from
  Object ( Builtin-Module )
is inherited by
  HTTPUnknownResponse ( Net )
  HTTPInformation ( Net )
  HTTPSuccess ( Net )
  HTTPRedirection ( Net )
  HTTPClientError ( Net )
  HTTPServerError ( Net )
has properties
class method: body_permitted?   
class method: exception_type   
constant: CODE_CLASS_TO_OBJ   
constant: CODE_TO_OBJ   
class method: read_new / 1   
class method: read_status_line / 1   
class method: response_class / 1   
class method: each_response_header / 1   
method: initialize / 3   
attribute: http_version [R]   
attribute: code [R]   
attribute: message [R]   
alias: msg message   
method: inspect   
method: to_ary   
method: code_type   
method: error!   
method: error_type   
method: value   
method: response   
method: header   
method: read_header   
method: reading_body / 2   
method: read_body / 2   
method: body   
alias: entity body   
method: read_body_0 / 1   
method: read_chunked / 1   
method: stream_check   
method: procdest / 2   
is defined at
#1790, #1959 in net/http.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: <Built-in Module>
  module: Net
module: HTTPHeader     
class: HTTPResponse     
class: HTTPUnknownResponse     
class: HTTPInformation     
class: HTTPSuccess     
class: HTTPRedirection     
class: HTTPClientError     
class: HTTPServerError     

Class Hierarchy

Object ( Builtin-Module )
HTTPResponse ( Net )
includes
  HTTPHeader ( Net )
has properties
class method: body_permitted?   
class method: exception_type   
constant: CODE_CLASS_TO_OBJ   
constant: CODE_TO_OBJ   
class method: read_new / 1   
class method: read_status_line / 1   
class method: response_class / 1   
class method: each_response_header / 1   
method: initialize / 3   
attribute: http_version [R]   
attribute: code [R]   
attribute: message [R]   
alias: msg message   
method: inspect   
method: to_ary   
method: code_type   
method: error!   
method: error_type   
method: value   
method: response   
method: header   
method: read_header   
method: reading_body / 2   
method: read_body / 2   
method: body   
alias: entity body   
method: read_body_0 / 1   
method: read_chunked / 1   
method: stream_check   
method: procdest / 2   
  HTTPUnknownResponse     
  HTTPInformation     
  HTTPSuccess     
  HTTPRedirection     
  HTTPClientError     
  HTTPServerError     

Constants

HTTPResponse::CODE_CLASS_TO_OBJ

#1961 in net/http.rb

CODE_CLASS_TO_OBJ = {   

HTTPResponse::CODE_TO_OBJ

#1968 in net/http.rb

CODE_TO_OBJ = {   

Class Methods

HTTPResponse.body_permitted?

#1792 in net/http.rb

body_permitted?

HTTPResponse.exception_type

#1796 in net/http.rb

exception_type

HTTPResponse.read_new / 1

#2016 in net/http.rb

read_new ( sock )

HTTPResponse.read_status_line / 1

#2027 in net/http.rb

read_status_line ( sock )

HTTPResponse.response_class / 1

#2034 in net/http.rb

response_class ( code )

HTTPResponse.each_response_header / 1

#2040 in net/http.rb

each_response_header ( sock )

Instance Aliases

HTTPResponse#msg

#2076 in net/http.rb

msg message   

HTTPResponse#entity

#2209 in net/http.rb

entity body   

Instance Attributes

HTTPResponse#http_version [R]

#2067 in net/http.rb

HTTPResponse#code [R]

#2072 in net/http.rb

HTTPResponse#message [R]

#2075 in net/http.rb

Instance Methods

HTTPResponse#initialize / 3

#2057 in net/http.rb

initialize ( httpv ,
  code ,
  msg )

HTTPResponse#inspect

#2078 in net/http.rb

inspect

HTTPResponse#to_ary

#2087 in net/http.rb

to_ary

HTTPResponse#code_type

#2100 in net/http.rb

code_type

HTTPResponse#error!

#2104 in net/http.rb

error!

HTTPResponse#error_type

#2108 in net/http.rb

error_type

HTTPResponse#value

#2113 in net/http.rb

value

HTTPResponse#response

#2121 in net/http.rb

response

HTTPResponse#header

#2126 in net/http.rb

header

HTTPResponse#read_header

#2131 in net/http.rb

read_header

HTTPResponse#reading_body / 2

#2140 in net/http.rb

reading_body ( sock ,
  reqmethodallowbody )

HTTPResponse#read_body / 2

#2173 in net/http.rb

read_body ( dest = nil ,
  &block )

HTTPResponse#body

#2205 in net/http.rb

body

HTTPResponse#read_body_0 / 1

#2213 in net/http.rb

read_body_0 ( dest )

HTTPResponse#read_chunked / 1

#2231 in net/http.rb

read_chunked ( dest )

HTTPResponse#stream_check

#2248 in net/http.rb

stream_check

HTTPResponse#procdest / 2

#2252 in net/http.rb

procdest ( dest ,
  block )