Bug 21169 - Change getSession() in org.apache.catalina.Session from HttpSession to a more general interface
Summary: Change getSession() in org.apache.catalina.Session from HttpSession to a more...
Status: RESOLVED WONTFIX
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Catalina (show other bugs)
Version: Unknown
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-29 07:15 UTC by Brian Olsen
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Olsen 2003-06-29 07:15:24 UTC
The current Session interface can only be used smoothly with HttpSession since
it can only return HttpSession. This means that using Tomcat to make an
implementation of the SIP Servlet API would require a hack on top of the Session
interface.

I would like that we change the Session interface to return a ServletSession
interface that contains the methods that HttpSession has in common with
SipSession and SipApplicationSession to enable a better and more smooth
implementation of the SIP Servlet API.
Comment 1 Brian Olsen 2003-06-29 07:36:46 UTC
I have just made a patch that adds the changes I sugested.
Comment 2 Remy Maucherat 2003-07-14 15:38:46 UTC
The consensus of the Tomcat community seemed to be against your proposal, sorry.