Class: HTTPProxyServer (WEBrick)

Overview
Module Structure
Class Hierarchy
Constants
HTTPProxyServer::HopByHop
HTTPProxyServer::ShouldNotTransfer
Instance Methods
HTTPProxyServer#initialize / 1
HTTPProxyServer#service / 2
HTTPProxyServer#proxy_auth / 2
HTTPProxyServer#split_field / 1
HTTPProxyServer#choose_header / 2
HTTPProxyServer#set_cookie / 2
HTTPProxyServer#set_via / 1
HTTPProxyServer#proxy_uri / 2
HTTPProxyServer#proxy_service / 2
HTTPProxyServer#proxy_connect / 2
HTTPProxyServer#do_OPTIONS / 2
is a submodule of
module: WEBrick   
has modular siblings
class: ServerError   
class: SimpleServer   
class: Daemon   
class: GenericServer   
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: BasicLog   
class: Log   
module: AccessLog   
inherits from
  HTTPServer ( WEBrick )
has properties
method: initialize / 1   
method: service / 2   
method: proxy_auth / 2   
constant: HopByHop   
constant: ShouldNotTransfer   
method: split_field / 1   
method: choose_header / 2   
method: set_cookie / 2   
method: set_via / 1   
method: proxy_uri / 2   
method: proxy_service / 2   
method: proxy_connect / 2   
method: do_OPTIONS / 2   
is defined at
#26 in webrick/httpproxy.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: WEBrick
class: ServerError     
class: SimpleServer     
class: Daemon     
class: GenericServer     
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     

Class Hierarchy

Object ( Builtin-Module )
Exception ( 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 )
has properties
method: initialize / 2   
method: run / 1   
method: service / 2   
method: do_OPTIONS / 2   
method: mount / 3   
method: mount_proc / 3   
method: unmount / 1   
alias: umount unmount   
method: search_servlet / 1   
method: virtual_host / 1   
method: lookup_server / 1   
method: access_log / 3   
HTTPProxyServer ( WEBrick )
has properties
method: initialize / 1   
method: service / 2   
method: proxy_auth / 2   
constant: HopByHop   
constant: ShouldNotTransfer   
method: split_field / 1   
method: choose_header / 2   
method: set_cookie / 2   
method: set_via / 1   
method: proxy_uri / 2   
method: proxy_service / 2   
method: proxy_connect / 2   
method: do_OPTIONS / 2   
HTTPRequest ( WEBrick )
HTTPResponse ( WEBrick )
HTTPVersion ( WEBrick )
CGI ( WEBrick )
Cookie ( WEBrick )
BasicLog ( WEBrick )
  Log     

Constants

HTTPProxyServer::HopByHop

#51 in webrick/httpproxy.rb

HopByHop = %w( connection keep-alive proxy-authenticate upgrade proxy-authorization te trailers transfer-encoding )   

HTTPProxyServer::ShouldNotTransfer

#53 in webrick/httpproxy.rb

ShouldNotTransfer = %w( set-cookie proxy-connection )   

Instance Methods

HTTPProxyServer#initialize / 1

#27 in webrick/httpproxy.rb

initialize ( config )

HTTPProxyServer#service / 2

#33 in webrick/httpproxy.rb

service ( req ,
  res )

HTTPProxyServer#proxy_auth / 2

#43 in webrick/httpproxy.rb

proxy_auth ( req ,
  res )

HTTPProxyServer#split_field / 1

#54 in webrick/httpproxy.rb

split_field ( f )

HTTPProxyServer#choose_header / 2

#56 in webrick/httpproxy.rb

choose_header ( src ,
  dst )

HTTPProxyServer#set_cookie / 2

#72 in webrick/httpproxy.rb

set_cookie ( src ,
  dst )

HTTPProxyServer#set_via / 1

#88 in webrick/httpproxy.rb

set_via ( h )

HTTPProxyServer#proxy_uri / 2

#98 in webrick/httpproxy.rb

proxy_uri ( req ,
  res )

HTTPProxyServer#proxy_service / 2

#102 in webrick/httpproxy.rb

proxy_service ( req ,
  res )

HTTPProxyServer#proxy_connect / 2

#169 in webrick/httpproxy.rb

proxy_connect ( req ,
  res )

HTTPProxyServer#do_OPTIONS / 2

#250 in webrick/httpproxy.rb

do_OPTIONS ( req ,
  res )