public interface PushStrategy
PushStrategy
encapsulates the decisions about performing
SPDY pushes of secondary resources associated with a primary resource.
Modifier and Type | Interface and Description |
---|---|
static class |
PushStrategy.None
An implementation that returns an empty list of secondary resources
|
Set<String> apply(Stream stream, Fields requestHeaders, Fields responseHeaders)
Applies the SPDY push logic for the primary resource.
stream
- the primary resource streamrequestHeaders
- the primary resource request headersresponseHeaders
- the primary resource response headersCopyright © 1995-2015 Webtide. All Rights Reserved.