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. |
HttpStatus |
getStatusCode()
Returns the
HttpStatus to be pushed along with the resource. |
public static PushResource.PushResourceBuilder builder()
public int getPriority()
public HttpStatus getStatusCode()
HttpStatus
to be pushed along with the resource.public String getContentType()
Copyright © 2015 Oracle Corporation. All rights reserved.