w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
  • Bulletin
  • Posts
doc_ruby_on_rails
doc_ruby_on_rails


remove_handler

remove_handler(suffix) Class Public methods Remove custom handling of requests for files with suffix

new

new(server, root, options={}, default=Config::FileHandler) Class Public methods Creates a FileHandler servlet on server that serves files starting at directory root options may be a Hash containing keys from WEBrick::Config::FileHandler or true or false. If options is true or false then :FancyIndexing is enabled or disabled respectively.

add_handler

add_handler(suffix, handler) Class Public methods Allow custom handling of requests for files with suffix by class handler

do_POST

do_POST(req, res) Instance Public methods Handles POST requests do_GET

do_GET

do_GET(req, res) Instance Public methods Handles GET requests do_POST

new

new(server, name) Class Public methods Creates a new ERBHandler on server that will evaluate and serve the ERB file name

new

new(server, local_path) Class Public methods Creates a DefaultFileHandler instance for the file at local_path.

new

new(server, name) Class Public methods Creates a new CGI script servlet for the script at name

service

service(req, res) Instance Public methods Dispatches to a do_ method based on req if such a method is available. (do_GET for a GET request). Raises a MethodNotAllowed exception if the method is not implemented.

do_OPTIONS

do_OPTIONS(req, res) Instance Public methods Returns the allowed HTTP request methods

Page 467 of 2275

|< < Prev 464 465 466 467 468 469 470 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions