Package | Description |
---|---|
org.glassfish.grizzly.spdy |
Modifier and Type | Method and Description |
---|---|
static PushResource.PushResourceBuilder |
PushResource.builder() |
PushResource.PushResourceBuilder |
PushResource.PushResourceBuilder.contentType(String contentType)
Sets the push data content-type.
|
PushResource.PushResourceBuilder |
PushResource.PushResourceBuilder.header(Header name,
String value)
Adds additional header to be pushed.
|
PushResource.PushResourceBuilder |
PushResource.PushResourceBuilder.header(String name,
String value)
Adds additional header to be pushed.
|
PushResource.PushResourceBuilder |
PushResource.PushResourceBuilder.priority(int priority)
Sets the SPDY stream priority to be used.
|
PushResource.PushResourceBuilder |
PushResource.PushResourceBuilder.source(Source source)
Sets the
Source to be pushed. |
PushResource.PushResourceBuilder |
PushResource.PushResourceBuilder.statusCode(HttpStatus statusCode)
Sets the
HttpStatus to be pushed along with the resource. |
PushResource.PushResourceBuilder |
PushResource.PushResourceBuilder.statusCode(int statusCode)
Sets the HTTP status to be pushed along with the resource.
|
PushResource.PushResourceBuilder |
PushResource.PushResourceBuilder.statusCode(int statusCode,
String reasonPhrase)
Sets the HTTP status and the reason phrase to be pushed along with the resource.
|
Copyright © 2015 Oracle Corporation. All rights reserved.