thanks. today, a jetty handler is highly tied to the Servlet API:
void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) not sure what else depends on Servlet API from jetty-server, but I wonder how hard should be to change this to: void handle(String target, Request baseRequest, Response response) I'm probably wrong but, isn't baseRequest and request the exactly same instance? and why use HttpServletResponse and not jetty version? Anyway, isn't a big deal but will be great if the Jetty API can evolve truly independently of Servlet API. On Thu, Dec 11, 2014 at 3:47 PM, Jesse McConnell <[email protected]> wrote: > having said that, the usage of the servlet-api from an implementation > perspective is largely isolated into the jetty-servlet artifact and > you can use the native jetty api's within jetty-server as you wish, > embedded or within the distribution by using the handlers directly or > whatever abstraction suits you. Just look to the jetty-rewrite module > for inspiration on what can be done before you ever really enter into > the servlet implementation. > > cheers, > Jesse > -- > jesse mcconnell > [email protected] > > > On Thu, Dec 11, 2014 at 11:15 AM, Joakim Erdfelt <[email protected]> > wrote: > > Not likely to happen for the core server. > > > > However, it has happened in other Client side libraries of Jetty. > > The HTTP Client and WebSocket Client has no requirement on the Servlet > API > > anymore. > > > > > > -- > > Joakim Erdfelt <[email protected]> > > webtide.com - intalio.com/jetty > > Expert advice, services and support from from the Jetty & CometD experts > > eclipse.org/jetty - cometd.org > > > > On Thu, Dec 11, 2014 at 9:34 AM, Edgar Espina <[email protected]> > > wrote: > >> > >> Hi, > >> > >> Just wondering how hard it is to remove the Servlet API from "core > >> jetty" and provide a Servlet container as a separated jar/module. > >> > >> Sometimes I think Servlet API isn't good enough and require a long time > >> to update/upgrade and most of the time I found Jetty API more clean and > >> powerful than Servlet. > >> > >> Have you ever think on this? is it even possible? > >> > >> Thanks > >> -- > >> edgar > >> > >> _______________________________________________ > >> jetty-users mailing list > >> [email protected] > >> To change your delivery options, retrieve your password, or unsubscribe > >> from this list, visit > >> https://dev.eclipse.org/mailman/listinfo/jetty-users > > > > > > > > _______________________________________________ > > jetty-users mailing list > > [email protected] > > To change your delivery options, retrieve your password, or unsubscribe > from > > this list, visit > > https://dev.eclipse.org/mailman/listinfo/jetty-users > _______________________________________________ > jetty-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/jetty-users > -- edgar
_______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
