method

service

rails latest stable - Class: DispatchServlet

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

service(req, res)
public

No documentation available.

# File railties/lib/webrick_server.rb, line 72
  def service(req, res) #:nodoc:
    unless handle_file(req, res)
      unless handle_dispatch(req, res)
        raise WEBrick::HTTPStatus::NotFound, "`#{req.path}' not found."
      end
    end
  end