Class: Aspera::FaspexGW::NewUserServlet
- Inherits:
-
WEBrick::HTTPServlet::AbstractServlet
- Object
- WEBrick::HTTPServlet::AbstractServlet
- Aspera::FaspexGW::NewUserServlet
- Defined in:
- lib/aspera/faspex_gw.rb
Overview
FxGwServlet
Instance Method Summary collapse
Instance Method Details
#do_GET(request, response) ⇒ Object
130 131 132 133 134 135 136 137 138 139 |
# File 'lib/aspera/faspex_gw.rb', line 130 def do_GET (request, response) case request.path when '/newuser' response.status=200 response.content_type = "text/html" response.body='<html><body>hello world</body></html>' else raise "unsupported path: [#{request.path}]" end end |