Method: Servlet#process
- Defined in:
- lib/servlet.rb
#process(request, response) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/servlet.rb', line 3 def process(request, response) response.start do |head,out| head["Content-Type"] = "text/html" out << "Servlet" end end |