Uses of Class
org.spincast.core.routing.ResourceToPush
Package
Description
-
Uses of ResourceToPush in org.spincast.core.server
Modifier and TypeMethodDescriptionvoid
Server.push
(Object exchange, Set<ResourceToPush> resourcesToPush) IfHTTP/2
is used, you can push extra resources at the same time you response to a request. -
Uses of ResourceToPush in org.spincast.plugins.response
-
Uses of ResourceToPush in org.spincast.plugins.undertow
Modifier and TypeMethodDescriptionprotected void
SpincastUndertowServer.sendPushHeaders
(io.undertow.server.HttpServerExchange exchange, ResourceToPush resourceToPush) In case the server is behind a reverse-proxy such as Nginx: it is this proxy that will do the actual push of the resource.Modifier and TypeMethodDescriptionvoid
SpincastUndertowServer.push
(Object exchangeObj, Set<ResourceToPush> resourcesToPush)