| Modifier and Type | Class and Description |
|---|---|
static class |
PushResource.PushResourceBuilder
PushResource builder to be used to create
PushResource instance. |
| Modifier and Type | Method and Description |
|---|---|
static PushResource.PushResourceBuilder |
builder() |
String |
getContentType()
Returns data content-type.
|
Map<String,String> |
getHeaders()
Returns additional headers to be pushed.
|
int |
getPriority()
Returns the SPDY stream priority to be used.
|
Source |
getSource()
Returns the
Source to be pushed. |
org.glassfish.grizzly.http.util.HttpStatus |
getStatusCode()
Returns the
HttpStatus to be pushed along with the resource. |
public static PushResource.PushResourceBuilder builder()
public int getPriority()
public org.glassfish.grizzly.http.util.HttpStatus getStatusCode()
HttpStatus to be pushed along with the resource.public String getContentType()
Copyright © 2019 Oracle Corporation. All Rights Reserved.