Hey Guys,

I just made a proposed patch for the enhancement request I made regarding the SIP Servlet API
http://issues.apache.org/bugzilla/show_bug.cgi?id=21169

It adds a new interface org.apache.catalina.ServletSession that contains the methods that HttpSession has in common with
SipSession and SipApplicationSession.

The interface changes are non-intrusive meaning that it changes or adds no functionality so if a class implements HttpSession it will also
implement all the methods in ServletSession.

To make catalina support the new interface have have made the following changes:
org.apache.catalina.Session - changed to return a ServletSession in the getSession() method
org.apache.catalina.session.StandardSession - makes it implement ServletSession and typecasts to HttpSession where needed.
org.apache.catalina.session.StandardSessionFacade - makes it implement ServletSession
org.apache.coyote.tomcat5.CoyoteRequest - typecasts from ServletSession to HttpSession in the getSession( boolean )

- Brian

Attachment: ServletSession.tar.gz
Description: GNU Zip compressed data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to