|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.http.HttpContent.Builder<HttpTrailer.Builder>
org.glassfish.grizzly.http.HttpTrailer.Builder
public static final class HttpTrailer.Builder
HttpTrailer message builder.
| Field Summary |
|---|
| Fields inherited from class org.glassfish.grizzly.http.HttpContent.Builder |
|---|
packet |
| Constructor Summary | |
|---|---|
protected |
HttpTrailer.Builder(HttpHeader httpHeader)
|
| Method Summary | |
|---|---|
HttpTrailer |
build()
Build the HttpTrailer message. |
HttpTrailer.Builder |
header(java.lang.String name,
java.lang.String value)
Add the HTTP mime header. |
HttpTrailer.Builder |
headers(MimeHeaders mimeHeaders)
Set the mime headers. |
| Methods inherited from class org.glassfish.grizzly.http.HttpContent.Builder |
|---|
content, last |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected HttpTrailer.Builder(HttpHeader httpHeader)
| Method Detail |
|---|
public final HttpTrailer.Builder headers(MimeHeaders mimeHeaders)
mimeHeaders - MimeHeaders.
public final HttpTrailer.Builder header(java.lang.String name,
java.lang.String value)
name - the mime header name.value - the mime header value.public final HttpTrailer build()
build in class HttpContent.Builder<HttpTrailer.Builder>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||