| Package | Description |
|---|---|
| org.spincast.core.server | |
| org.spincast.plugins.response | |
| org.spincast.plugins.undertow |
| Modifier and Type | Method and Description |
|---|---|
void |
Server.push(Object exchange,
Set<ResourceToPush> resourcesToPush)
If
HTTP/2 is used, you can push extra resources
at the same time you response to a request. |
| Modifier and Type | Method and Description |
|---|---|
Set<ResourceToPush> |
SpincastResponseRequestContextAddon.getResourcesToPush() |
| Modifier and Type | Method and Description |
|---|---|
protected 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 Type | Method and Description |
|---|---|
void |
SpincastUndertowServer.push(Object exchangeObj,
Set<ResourceToPush> resourcesToPush) |
Copyright © 2019. All rights reserved.