Class NoopPushBuilder

  • All Implemented Interfaces:
    PushBuilder

    public class NoopPushBuilder
    extends Object
    implements PushBuilder
    The noop push builder is used to inform the dev to place in a vendor specific jar to support the push builder API
    Author:
    Martin Grigorov
    • Method Detail

      • push

        public void push​(javax.servlet.http.HttpServletRequest httpServletRequest,
                         PushItem... pushItems)
        Warns the dev to provide a vendor specific push builder API.

        Pushes the given paths with the push builder received from the http servlet request

        Specified by:
        push in interface PushBuilder
        Parameters:
        httpServletRequest - the http servlet request to get the push builder from
        pushItems - the pushItems of the resources to be pushed