Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] embedded welcomefiles+http2-push+gzip-static-content+rest-api configuration

Hi,

On Wed, Feb 13, 2019 at 11:01 AM James Northrup <jim@xxxxxxxxxxx> wrote:
>
> i have a dillema where my jetty configs led me to a certain configuration but the PushCacheFilter does not work on launch, it throws an NPE.

Jetty version?
Stack trace of the NPE?

> i use a restapi that previously inheritted defaultservlet and served the static content itself, and this worked well for PushCacheFilter though i did not want to duplicate the welcomefiles functionality and so refactored to this now.

Code seems ok, provided you uncomment the PushCacheFilter.

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.


Back to the top