Uses of Class
org.spincast.core.routing.ResourceToPush
Packages that use ResourceToPush
Package
Description
-
Uses of ResourceToPush in org.spincast.core.server
Method parameters in org.spincast.core.server with type arguments of type ResourceToPushModifier 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
Methods in org.spincast.plugins.response that return types with arguments of type ResourceToPush -
Uses of ResourceToPush in org.spincast.plugins.undertow
Methods in org.spincast.plugins.undertow with parameters of type ResourceToPushModifier 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.Method parameters in org.spincast.plugins.undertow with type arguments of type ResourceToPushModifier and TypeMethodDescriptionvoid
SpincastUndertowServer.push
(Object exchangeObj, Set<ResourceToPush> resourcesToPush)