Package | Description |
---|---|
org.glassfish.grizzly.http | |
org.glassfish.grizzly.http.server | |
org.glassfish.grizzly.http.server.filecache | |
org.glassfish.grizzly.http.util |
Modifier and Type | Method and Description |
---|---|
protected ContentType |
HttpHeader.getContentTypeHolder() |
Modifier and Type | Method and Description |
---|---|
void |
HttpHeader.setContentType(ContentType contentType)
Sets the content type.
|
Modifier and Type | Method and Description |
---|---|
void |
Response.setContentType(ContentType type)
Set the content type for this Response.
|
Modifier and Type | Field and Description |
---|---|
ContentType |
FileCacheEntry.contentType |
Modifier and Type | Class and Description |
---|---|
static class |
ContentType.SettableContentType
Mutable
ContentType object. |
Modifier and Type | Method and Description |
---|---|
static ContentType |
ContentType.newContentType(String contentType)
Creates a
ContentType wrapper over a String
content-type representation. |
static ContentType |
ContentType.newContentType(String mimeType,
String characterEncoding)
Creates a
ContentType wrapper over the passed mime-type and
character encoding. |
ContentType |
ContentType.prepare()
Prepare the ContentType for the serialization.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ContentType.set(ContentType contentType)
Sets the content type.
|
void |
ContentType.SettableContentType.set(ContentType contentType) |
Copyright © 2015 Oracle Corporation. All rights reserved.