Re: [jetty-users] Cannot get org.eclipse.jetty.server.Request instance

2019-09-10 Thread John Jiang
On Tue, Sep 10, 2019 at 11:32 PM Simone Bordet wrote: > Hi, > > On Tue, Sep 10, 2019 at 2:05 PM John Jiang > wrote: > > I would have tried that with curl, like the below, > > $ curl -v --http2 http://localhost:9020/push > > * Trying ::1:9020... > > * TCP_NODELAY set > > * Connected to

Re: [jetty-users] Cannot get org.eclipse.jetty.server.Request instance

2019-09-10 Thread Simone Bordet
Hi, On Tue, Sep 10, 2019 at 2:05 PM John Jiang wrote: > I would have tried that with curl, like the below, > $ curl -v --http2 http://localhost:9020/push > * Trying ::1:9020... > * TCP_NODELAY set > * Connected to localhost (::1) port 9020 (#0) > > GET /push HTTP/1.1 > > Host: localhost:9020 >

Re: [jetty-users] Cannot get org.eclipse.jetty.server.Request instance

2019-09-10 Thread John Jiang
On Tue, Sep 10, 2019 at 7:50 PM Simone Bordet wrote: > Hi, > > On Tue, Sep 10, 2019 at 1:41 PM John Jiang > wrote: > > > > I wanted to test the HTTP/2 feature server push with Jetty 9.4.20, and > made a simple servlet like the below, > > > > public class ServerPushServlet extends HttpServlet {

Re: [jetty-users] Cannot get org.eclipse.jetty.server.Request instance

2019-09-10 Thread Simone Bordet
Hi, On Tue, Sep 10, 2019 at 1:41 PM John Jiang wrote: > > I wanted to test the HTTP/2 feature server push with Jetty 9.4.20, and made a > simple servlet like the below, > > public class ServerPushServlet extends HttpServlet { > > protected void doGet(HttpServletRequest request, >

[jetty-users] Cannot get org.eclipse.jetty.server.Request instance

2019-09-10 Thread John Jiang
I wanted to test the HTTP/2 feature server push with Jetty 9.4.20, and made a simple servlet like the below, public class ServerPushServlet extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {