/[eiffelstudio]/branches/eth/eve/Src/contrib/library/network/protocol/http/src/http_content_type.e
ViewVC logotype

Contents of /branches/eth/eve/Src/contrib/library/network/protocol/http/src/http_content_type.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 92964 - (show annotations)
Fri Sep 20 05:41:23 2013 UTC (6 years, 1 month ago) by jasonw
File size: 981 byte(s)
<<Merged from trunk#92963.>>
1 note
2 description: "[
3 This class is to represent the CONTENT_TYPE value
4 ]"
5 date: "$Date$"
6 revision: "$Revision$"
7 EIS: "name=RFC3875", "protocol=URI", "src=http://tools.ietf.org/html/rfc3875"
8
9 class
10 HTTP_CONTENT_TYPE
11
12 inherit
13 HTTP_MEDIA_TYPE
14
15 create
16 make,
17 make_from_string
18
19 feature -- Access
20
21 charset_parameter: detachable READABLE_STRING_8
22 do
23 if has_charset_parameter then
24 Result := parameter (charset_parameter_name)
25 end
26 end
27
28 has_charset_parameter: BOOLEAN
29 do
30 Result := has_parameter (charset_parameter_name)
31 end
32
33 feature -- Constant
34
35 charset_parameter_name: STRING_8 = "charset"
36
37 note
38 copyright: "2011-2013, Jocelyn Fiat, Eiffel Software and others"
39 license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
40 source: "[
41 Eiffel Software
42 5949 Hollister Ave., Goleta, CA 93117 USA
43 Telephone 805-685-1006, Fax 805-685-6869
44 Website http://www.eiffel.com
45 Customer support http://support.eiffel.com
46 ]"
47 end

Properties

Name Value
svn:eol-style native
svn:keywords Author Date ID Revision

  ViewVC Help
Powered by ViewVC 1.1.23