On 02/03/2016 09:13, Rémy Maucherat wrote: > 2016-03-02 9:56 GMT+01:00 jean-frederic clere <jfcl...@gmail.com>: > >> On 03/01/2016 11:30 PM, Rémy Maucherat wrote: >>> 2016-03-01 23:12 GMT+01:00 Mark Thomas <ma...@apache.org>: >>> >>>> To summarise where I think this discussion is going: >>>> >>>> - Create 8.5.x from 9.0.x with the following changes >>>> - revert all changes to spec APIs >>>> >>> >>> Yes. Do we have a plan when everyone wants to do a push ? (I'm really >> not a >>> fan of it ...) >> >> Through a "private" API until we do 9? >> > The public interface can be removed, the implementation remains. But > obviously it becomes harder to use. > PushBuilder -> o.a.catalina.core.ApplicationPushBuilder
We could add a (deprecated) PushBuilder interface to o.a.catalina so all users would have to do is rename the import to move from 8.5.x to 9.0.x. Users would also have to cast the request object in order to call getPushBuilder(). Not perfect but not awful considering this is early access to Servlet 4.0 API and that that API could change anyway. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org