Class: GenericServer (WEBrick)

Overview
Module Structure
Class Hierarchy
Instance Attributes
GenericServer#status [R]
GenericServer#config [R]
GenericServer#logger [R]
GenericServer#tokens [R]
GenericServer#listeners [R]
Instance Methods
GenericServer#initialize / 2
GenericServer#[] / 1
GenericServer#listen (1/2) / 2
GenericServer#start / 1
GenericServer#stop
GenericServer#shutdown
GenericServer#run / 1
GenericServer#accept_client / 1
GenericServer#start_thread / 2
GenericServer#call_callback / 2
GenericServer#ssl_context
GenericServer#listen (2/E) / 2
GenericServer#setup_ssl_context / 1
is a submodule of
module: WEBrick   
has modular siblings
class: ServerError   
class: SimpleServer   
class: Daemon   
class: HTTPServerError   
class: HTTPServer   
module: HTTPServlet   
class: HTTPRequest   
class: HTTPResponse   
module: HTTPStatus   
module: HTTPUtils   
class: HTTPVersion   
module: HTTPAuth   
module: Config   
module: Utils   
class: CGI   
class: Cookie   
module: HTMLUtils   
class: HTTPProxyServer   
class: BasicLog   
class: Log   
module: AccessLog   
inherits from
  Object ( Builtin-Module )
is inherited by
  HTTPServer ( WEBrick )
has class siblings
  Exception ( Builtin-Module )
  String ( Builtin-Module )
  SimpleServer ( WEBrick )
  Daemon ( WEBrick )
  MountTable ( WEBrick::HTTPServer )
  AbstractServlet ( WEBrick::HTTPServlet )
  HTTPRequest ( WEBrick )
  HTTPResponse ( WEBrick )
  HTTPVersion ( WEBrick )
  BasicAuth ( WEBrick::HTTPAuth )
  DigestAuth ( WEBrick::HTTPAuth )
  Htdigest ( WEBrick::HTTPAuth )
  Htgroup ( WEBrick::HTTPAuth )
  Htpasswd ( WEBrick::HTTPAuth )
  CGI ( WEBrick )
  Socket ( WEBrick::CGI )
  Cookie ( WEBrick )
  BasicLog ( WEBrick )
has properties
attribute: status [R]   
attribute: config [R]   
attribute: logger [R]   
attribute: tokens [R]   
attribute: listeners [R]   
method: initialize / 2   
method: [] / 1   
method: listen (1/2) / 2   
method: start / 1   
method: stop   
method: shutdown   
method: run / 1   
method: accept_client / 1   
method: start_thread / 2   
method: call_callback / 2   
method: ssl_context   
method: listen (2/E) / 2   
method: setup_ssl_context / 1   
is defined at
#41 in webrick/server.rb  
#81 in webrick/ssl.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: <Built-in Module>
class: Exception     
class: String     
  module: WEBrick
  class: ServerError
  class: SimpleServer
  class: Daemon
✗ class: GenericServer
  class: HTTPServerError
  class: HTTPServer
class: MountTable     
  module: HTTPServlet
class: AbstractServlet     
  class: HTTPRequest
  class: HTTPResponse
  module: HTTPStatus
  module: HTTPUtils
  class: HTTPVersion
  module: HTTPAuth
class: BasicAuth     
class: DigestAuth     
class: Htdigest     
class: Htgroup     
class: Htpasswd     
  module: Config
  module: Utils
  class: CGI
class: Socket     
  class: Cookie
  module: HTMLUtils
  class: HTTPProxyServer
  class: BasicLog
  class: Log
  module: AccessLog

Class Hierarchy

Object ( Builtin-Module )
Exception ( Builtin-Module )
String ( Builtin-Module )
SimpleServer ( WEBrick )
Daemon ( WEBrick )
GenericServer ( WEBrick )
has properties
attribute: status [R]   
attribute: config [R]   
attribute: logger [R]   
attribute: tokens [R]   
attribute: listeners [R]   
method: initialize / 2   
method: [] / 1   
method: listen (1/2) / 2   
method: start / 1   
method: stop   
method: shutdown   
method: run / 1   
method: accept_client / 1   
method: start_thread / 2   
method: call_callback / 2   
method: ssl_context   
method: listen (2/E) / 2   
method: setup_ssl_context / 1   
HTTPServer ( WEBrick )
  HTTPProxyServer     
MountTable ( WEBrick::HTTPServer )
AbstractServlet ( WEBrick::HTTPServlet )
HTTPRequest ( WEBrick )
HTTPResponse ( WEBrick )
HTTPVersion ( WEBrick )
BasicAuth ( WEBrick::HTTPAuth )
DigestAuth ( WEBrick::HTTPAuth )
Htdigest ( WEBrick::HTTPAuth )
Htgroup ( WEBrick::HTTPAuth )
Htpasswd ( WEBrick::HTTPAuth )
CGI ( WEBrick )
Socket ( WEBrick::CGI )
Cookie ( WEBrick )
BasicLog ( WEBrick )
  Log     

Instance Attributes

GenericServer#status [R]

#42 in webrick/server.rb

GenericServer#config [R]

#42 in webrick/server.rb

GenericServer#logger [R]

#42 in webrick/server.rb

GenericServer#tokens [R]

#42 in webrick/server.rb

GenericServer#listeners [R]

#42 in webrick/server.rb

Instance Methods

GenericServer#initialize / 2

#44 in webrick/server.rb

initialize ( config={} ,
  default=Config::General )

GenericServer#[] / 1

#70 in webrick/server.rb

[] ( key )

GenericServer#listen (1/2) / 2

#74 in webrick/server.rb

listen ( address ,
  port )

GenericServer#start / 1

#78 in webrick/server.rb

start ( &block )

GenericServer#stop

#120 in webrick/server.rb

stop

GenericServer#shutdown

#126 in webrick/server.rb

shutdown

GenericServer#run / 1

#138 in webrick/server.rb

run ( sock )

GenericServer#accept_client / 1

#144 in webrick/server.rb

accept_client ( svr )

GenericServer#start_thread / 2

#161 in webrick/server.rb

start_thread ( sock ,
  &block )

GenericServer#call_callback / 2

#194 in webrick/server.rb

call_callback ( callback_name ,
  *args )

GenericServer#ssl_context

#82 in webrick/ssl.rb

ssl_context

GenericServer#listen (2/E) / 2

#86 in webrick/ssl.rb

listen ( address ,
  port )

GenericServer#setup_ssl_context / 1

#102 in webrick/ssl.rb

setup_ssl_context ( config )