Class NoopPushBuilder
- java.lang.Object
-
- org.apache.wicket.http2.markup.head.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
-
-
Field Summary
Fields Modifier and Type Field Description static NoopPushBuilder
INSTANCE
An instance of the push builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
push(javax.servlet.http.HttpServletRequest httpServletRequest, PushItem... pushItems)
Warns the dev to provide a vendor specific push builder API.
-
-
-
Field Detail
-
INSTANCE
public static final NoopPushBuilder INSTANCE
An instance of the push builder
-
-
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 interfacePushBuilder
- Parameters:
httpServletRequest
- the http servlet request to get the push builder frompushItems
- the pushItems of the resources to be pushed
-
-