class YARD::Server::WebrickServlet

The main WEBrick servlet implementation, accepting only GET requests.

def do_GET(request, response) # rubocop:disable Style/MethodName

Other tags:
    Private: -
def do_GET(request, response) # rubocop:disable Style/MethodName
  status, headers, body = *adapter.router.call(request)
  response.status = status
  response.body = body.is_a?(Array) ? body[0] : body
  headers.each do |key, value|
    response[key] = value
  end
end

def initialize(server, adapter)

def initialize(server, adapter)
  super
  self.adapter = adapter
end