Class: HTTPClientError (Net)

Overview
Module Structure
Class Hierarchy
Constants
HTTPClientError::HAS_BODY
HTTPClientError::EXCEPTION_TYPE
is a submodule of
module: Net   
inherits from
  HTTPResponse ( Net )
is inherited by
  HTTPBadRequest ( Net )
  HTTPUnauthorized ( Net )
  HTTPPaymentRequired ( Net )
  HTTPForbidden ( Net )
  HTTPNotFound ( Net )
  HTTPMethodNotAllowed ( Net )
  HTTPNotAcceptable ( Net )
  HTTPProxyAuthenticationRequired ( Net )
  HTTPRequestTimeOut ( Net )
  HTTPConflict ( Net )
  HTTPGone ( Net )
  HTTPLengthRequired ( Net )
  HTTPPreconditionFailed ( Net )
  HTTPRequestEntityTooLarge ( Net )
  HTTPRequestURITooLong ( Net )
  HTTPUnsupportedMediaType ( Net )
  HTTPRequestedRangeNotSatisfiable ( Net )
  HTTPExpectationFailed ( Net )
has properties
constant: HAS_BODY   
constant: EXCEPTION_TYPE   
is defined at
#1819 in net/http.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: Net
class: HTTPResponse     
class: HTTPClientError     
class: HTTPBadRequest     
class: HTTPUnauthorized     
class: HTTPPaymentRequired     
class: HTTPForbidden     
class: HTTPNotFound     
class: HTTPMethodNotAllowed     
class: HTTPNotAcceptable     
class: HTTPProxyAuthenticationRequired     
class: HTTPRequestTimeOut     
class: HTTPConflict     
class: HTTPGone     
class: HTTPLengthRequired     
class: HTTPPreconditionFailed     
class: HTTPRequestEntityTooLarge     
class: HTTPRequestURITooLong     
class: HTTPUnsupportedMediaType     
class: HTTPRequestedRangeNotSatisfiable     
class: HTTPExpectationFailed     

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   
HTTPClientError ( Net )
has properties
constant: HAS_BODY   
constant: EXCEPTION_TYPE   
  HTTPBadRequest     
  HTTPUnauthorized     
  HTTPPaymentRequired     
  HTTPForbidden     
  HTTPNotFound     
  HTTPMethodNotAllowed     
  HTTPNotAcceptable     
  HTTPProxyAuthenticationRequired     
  HTTPRequestTimeOut     
  HTTPConflict     
  HTTPGone     
  HTTPLengthRequired     
  HTTPPreconditionFailed     
  HTTPRequestEntityTooLarge     
  HTTPRequestURITooLong     
  HTTPUnsupportedMediaType     
  HTTPRequestedRangeNotSatisfiable     
  HTTPExpectationFailed     

Constants

HTTPClientError::HAS_BODY

#1820 in net/http.rb

HAS_BODY = true   

HTTPClientError::EXCEPTION_TYPE

#1821 in net/http.rb

EXCEPTION_TYPE = HTTPServerException # for backward compatibility