| Package | Description |
|---|---|
| org.glassfish.grizzly.http | |
| 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 | 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 © 2018 Oracle Corporation. All Rights Reserved.