Removed usage of remote anchor types.
This commit is contained in:
@@ -25,14 +25,14 @@ feature {WSF_ROUTER} -- Routes change
|
||||
do
|
||||
l_routes := available_routes
|
||||
if l_routes = Void then
|
||||
create {ARRAYED_LIST [like available_routes.item]} l_routes.make (3)
|
||||
create {ARRAYED_LIST [TUPLE [resource: READABLE_STRING_8; rqst_methods: detachable ARRAY [READABLE_STRING_8]]]} l_routes.make (3)
|
||||
available_routes := l_routes
|
||||
end
|
||||
l_routes.force ([a_resource, a_rqst_methods])
|
||||
end
|
||||
|
||||
note
|
||||
copyright: "2011-2012, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
|
||||
copyright: "2011-2014, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Colin Adams, Eiffel Software and others"
|
||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||
source: "[
|
||||
Eiffel Software
|
||||
|
||||
@@ -169,10 +169,10 @@ feature -- Content negotiation
|
||||
local
|
||||
l_conneg: SERVER_CONTENT_NEGOTIATION
|
||||
h: HTTP_HEADER
|
||||
l_media: like {SERVER_CONTENT_NEGOTIATION}.media_type_preference
|
||||
l_lang: like {SERVER_CONTENT_NEGOTIATION}.language_preference
|
||||
l_charset: like {SERVER_CONTENT_NEGOTIATION}.charset_preference
|
||||
l_encoding: like {SERVER_CONTENT_NEGOTIATION}.encoding_preference
|
||||
l_media: HTTP_ACCEPT_MEDIA_TYPE_VARIANTS
|
||||
l_lang: HTTP_ACCEPT_LANGUAGE_VARIANTS
|
||||
l_charset: HTTP_ACCEPT_CHARSET_VARIANTS
|
||||
l_encoding: HTTP_ACCEPT_ENCODING_VARIANTS
|
||||
l_mime_types, l_langs, l_charsets, l_encodings: LIST [STRING]
|
||||
l_vary_star: BOOLEAN
|
||||
do
|
||||
@@ -586,7 +586,7 @@ feature -- Error reporting
|
||||
end
|
||||
|
||||
note
|
||||
copyright: "2011-2013, Colin Adams, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others"
|
||||
copyright: "2011-2014, Colin Adams, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others"
|
||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||
source: "[
|
||||
Eiffel Software
|
||||
|
||||
@@ -30,7 +30,7 @@ feature {NONE} -- Initialization
|
||||
|
||||
feature -- Access
|
||||
|
||||
session_exists (a_session_uuid: like {WSF_SESSION}.uuid): BOOLEAN
|
||||
session_exists (a_session_uuid: READABLE_STRING_8): BOOLEAN
|
||||
local
|
||||
f: RAW_FILE
|
||||
do
|
||||
@@ -38,7 +38,7 @@ feature -- Access
|
||||
Result := f.exists and then f.is_readable
|
||||
end
|
||||
|
||||
session_data (a_session_uuid: like {WSF_SESSION}.uuid): detachable like {WSF_SESSION}.data
|
||||
session_data (a_session_uuid: READABLE_STRING_8): detachable WSF_SESSION_DATA
|
||||
local
|
||||
f: RAW_FILE
|
||||
do
|
||||
@@ -147,13 +147,13 @@ feature {NONE} -- Implementation
|
||||
Result := d.exists and then d.is_writable
|
||||
end
|
||||
|
||||
file_name (a_uuid: like {WSF_SESSION}.uuid): PATH
|
||||
file_name (a_uuid: READABLE_STRING_GENERAL): PATH
|
||||
do
|
||||
Result := sessions_folder_name.extended (a_uuid.out).appended_with_extension ("session")
|
||||
Result := sessions_folder_name.extended (a_uuid).appended_with_extension ("session")
|
||||
end
|
||||
|
||||
note
|
||||
copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others"
|
||||
copyright: "2011-2014, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Colin Adams, Eiffel Software and others"
|
||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||
source: "[
|
||||
Eiffel Software
|
||||
|
||||
@@ -9,11 +9,11 @@ deferred class
|
||||
|
||||
feature -- Access
|
||||
|
||||
session_exists (a_uuid: like {WSF_SESSION}.uuid): BOOLEAN
|
||||
session_exists (a_uuid: READABLE_STRING_8): BOOLEAN
|
||||
deferred
|
||||
end
|
||||
|
||||
session_data (a_uuid: like {WSF_SESSION}.uuid): detachable like {WSF_SESSION}.data
|
||||
session_data (a_uuid: READABLE_STRING_8): detachable WSF_SESSION_DATA
|
||||
deferred
|
||||
end
|
||||
|
||||
@@ -28,7 +28,7 @@ feature -- Persistence
|
||||
end
|
||||
|
||||
note
|
||||
copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others"
|
||||
copyright: "2011-2014, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Colin Adams, Eiffel Software and others"
|
||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||
source: "[
|
||||
Eiffel Software
|
||||
|
||||
@@ -56,12 +56,12 @@ feature {NONE} -- Initialization
|
||||
launch
|
||||
end
|
||||
|
||||
frozen make_callback (a_callback: like {WSF_CALLBACK_SERVICE}.callback; a_options: like options)
|
||||
frozen make_callback (a_callback: PROCEDURE [ANY, TUPLE [req: WSF_REQUEST; res: WSF_RESPONSE]]; a_options: like options)
|
||||
do
|
||||
make (create {WSF_CALLBACK_SERVICE}.make (a_callback), a_options)
|
||||
end
|
||||
|
||||
frozen make_callback_and_launch (a_callback: like {WSF_CALLBACK_SERVICE}.callback; a_options: like options)
|
||||
frozen make_callback_and_launch (a_callback: PROCEDURE [ANY, TUPLE [req: WSF_REQUEST; res: WSF_RESPONSE]]; a_options: like options)
|
||||
do
|
||||
make (create {WSF_CALLBACK_SERVICE}.make (a_callback), a_options)
|
||||
end
|
||||
@@ -120,7 +120,7 @@ invariant
|
||||
connector_attached: connector /= Void
|
||||
|
||||
note
|
||||
copyright: "2011-2012, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others"
|
||||
copyright: "2011-2014, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Colin Adams, Eiffel Software and others"
|
||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||
source: "[
|
||||
Eiffel Software
|
||||
|
||||
Reference in New Issue
Block a user