class EL_SOFTWARE_VERSION_INFO_SERVLET
Client examples: COMPILED_CLASSES
Current version info for downloadable software
note
	description: "Current version info for downloadable software"
	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2022 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"
	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2025-02-11 18:06:48 GMT (Tuesday 11th February 2025)"
	revision: "7"
		
		class
	EL_SOFTWARE_VERSION_INFO_SERVLET
inherit
	FCGI_HTTP_SERVLET
		rename
			make as make_servlet
		end
create
	make
feature {NONE} -- Initialization
	make (a_service: like service; software_version: EL_CURRENT_SOFTWARE_VERSION)
		do
			make_servlet (a_service)
			create version_info.make (software_version)
		end
feature {NONE} -- Implementation
	serve
			--
		do
			log.enter ("serve")
			log.put_labeled_string ("IP", request.parameters.remote_addr)
			response.set_content (version_info.to_xml, Text_type.XML, {EL_ENCODING_TYPE}.UTF_8)
			log.exit
		end
feature {NONE} -- Internal attributes
	version_info: EL_SOFTWARE_VERSION_INFO
end