Class UndertowPushBuilder
- java.lang.Object
-
- org.apache.wicket.http2.markup.head.undertow.UndertowPushBuilder
-
- All Implemented Interfaces:
PushBuilder
public class UndertowPushBuilder extends Object implements PushBuilder
Allows to push resources with the Undertow 2+ specific push builder API- Author:
- Tobias Soloschenko
-
-
Constructor Summary
Constructors Constructor Description UndertowPushBuilder()
-
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
-
UndertowPushBuilder
public UndertowPushBuilder()
-
-
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
-
-