Class: DefaultFileHandler (WEBrick::HTTPServlet)

Overview
Module Structure
Class Hierarchy
Instance Methods
DefaultFileHandler#initialize / 2
DefaultFileHandler#do_GET / 2
DefaultFileHandler#not_modified? / 4
DefaultFileHandler#make_partial_content / 4
DefaultFileHandler#prepare_range / 2
is a submodule of
module: HTTPServlet ( WEBrick )
has modular siblings
class: HTTPServletError   
class: AbstractServlet   
class: CGIHandler   
class: ERBHandler   
class: FileHandler   
class: ProcHandler   
inherits from
  AbstractServlet ( WEBrick::HTTPServlet )
has class siblings
  CGIHandler ( WEBrick::HTTPServlet )
  ERBHandler ( WEBrick::HTTPServlet )
  FileHandler ( WEBrick::HTTPServlet )
  ProcHandler ( WEBrick::HTTPServlet )
has properties
method: initialize / 2   
method: do_GET / 2   
method: not_modified? / 4   
method: make_partial_content / 4   
method: prepare_range / 2   
is defined at
#21 in webrick/httpservlet/filehandler.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: WEBrick
  module: HTTPServlet
class: HTTPServletError     
class: AbstractServlet     
class: CGIHandler     
class: ERBHandler     
class: DefaultFileHandler     
class: FileHandler     
class: ProcHandler     

Class Hierarchy

Object ( Builtin-Module )
Exception ( Builtin-Module )
AbstractServlet ( WEBrick::HTTPServlet )
has properties
class method: get_instance / 2   
method: initialize / 2   
method: service / 2   
method: do_GET / 2   
method: do_HEAD / 2   
method: do_OPTIONS / 2   
method: redirect_to_directory_uri / 2   
CGIHandler ( WEBrick::HTTPServlet )
ERBHandler ( WEBrick::HTTPServlet )
DefaultFileHandler ( WEBrick::HTTPServlet )
has properties
method: initialize / 2   
method: do_GET / 2   
method: not_modified? / 4   
method: make_partial_content / 4   
method: prepare_range / 2   
FileHandler ( WEBrick::HTTPServlet )
ProcHandler ( WEBrick::HTTPServlet )

Instance Methods

DefaultFileHandler#initialize / 2

#22 in webrick/httpservlet/filehandler.rb

initialize ( server ,
  local_path )

DefaultFileHandler#do_GET / 2

#27 in webrick/httpservlet/filehandler.rb

do_GET ( req ,
  res )

DefaultFileHandler#not_modified? / 4

#47 in webrick/httpservlet/filehandler.rb

not_modified? ( req ,
  res ,
  mtime ,
  etag )

DefaultFileHandler#make_partial_content / 4

#72 in webrick/httpservlet/filehandler.rb

make_partial_content ( req ,
  res ,
  filename ,
  filesize )

DefaultFileHandler#prepare_range / 2

#119 in webrick/httpservlet/filehandler.rb

prepare_range ( range ,
  filesize )