class Servlet

Public Instance Methods

process(request, response) click to toggle source
# File lib/servlet.rb, line 3
def process(request, response)
  response.start do |head,out|
    head["Content-Type"] = "text/html"
    out << "Servlet"
  end
end