PageRenderTime 82ms CodeModel.GetById 79ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/library/server/httpd/interface/response/httpd_response.e

http://github.com/jocelyn/EiffelWebReloaded
Specman e | 56 lines | 43 code | 12 blank | 1 comment | 1 complexity | a463fce67923c118ee047df5329c61d6 MD5 | raw file
 1note
 2	description: "Summary description for {HTTPD_RESPONSE}."
 3	legal: "See notice at end of class."
 4	status: "See notice at end of class."
 5	date: "$Date$"
 6	revision: "$Revision$"
 7
 8deferred class
 9	HTTPD_RESPONSE
10
11feature {NONE} -- Initialization
12
13	initialize
14		do
15			create headers.make
16		end
17
18feature -- Recycle
19
20	recycle
21		do
22			headers.recycle
23		end
24
25feature -- Access
26
27	headers: HTTPD_HEADER
28
29feature -- Query
30
31	string: STRING
32			-- String representation of the response
33		deferred
34		ensure
35			result_attached: Result /= Void
36		end
37
38	send (output: HTTPD_SERVER_OUTPUT)
39		do
40			output.put_string (string)
41		end
42
43invariant
44	header_attached: headers /= Void
45
46note
47	copyright: "Copyright (c) 1984-2011, Eiffel Software and others"
48	license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
49	source: "[
50			Eiffel Software
51			5949 Hollister Ave., Goleta, CA 93117 USA
52			Telephone 805-685-1006, Fax 805-685-6869
53			Website http://www.eiffel.com
54			Customer support http://support.eiffel.com
55		]"
56end