Class Servlet4PushBuilder
- java.lang.Object
-
- org.apache.wicket.http2.markup.head.servlet4.Servlet4PushBuilder
-
- All Implemented Interfaces:
PushBuilder
public class Servlet4PushBuilder extends Object implements PushBuilder
Allows to push resources with the Servlet 4 specific push builder API- Author:
- Tobias Soloschenko
-
-
Constructor Summary
Constructors Constructor Description Servlet4PushBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
push(javax.servlet.http.HttpServletRequest httpServletRequest, PushItem... pushItems)
Pushes the given paths with the push builder received from the http servlet request
-
-
-
Constructor Detail
-
Servlet4PushBuilder
public Servlet4PushBuilder()
-
-
Method Detail
-
push
public void push(javax.servlet.http.HttpServletRequest httpServletRequest, PushItem... pushItems)
Description copied from interface:PushBuilder
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
-
-