|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.http.HttpHeader.Builder<HttpResponsePacket.Builder>
org.glassfish.grizzly.http.HttpResponsePacket.Builder
public static class HttpResponsePacket.Builder
HttpResponsePacket message builder.
| Field Summary |
|---|
| Fields inherited from class org.glassfish.grizzly.http.HttpHeader.Builder |
|---|
packet |
| Constructor Summary | |
|---|---|
protected |
HttpResponsePacket.Builder(HttpRequestPacket request)
|
| Method Summary | |
|---|---|
HttpResponsePacket |
build()
Build the HttpResponsePacket message. |
HttpResponsePacket.Builder |
reasonPhrase(java.lang.String reasonPhrase)
Sets the status reason phrase for this response. |
HttpResponsePacket.Builder |
status(int status)
Sets the status code for this response. |
| Methods inherited from class org.glassfish.grizzly.http.HttpHeader.Builder |
|---|
chunked, contentLength, contentType, header, header, protocol, protocol, upgrade |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected HttpResponsePacket.Builder(HttpRequestPacket request)
| Method Detail |
|---|
public HttpResponsePacket.Builder status(int status)
status - the status code for this response.public HttpResponsePacket.Builder reasonPhrase(java.lang.String reasonPhrase)
reasonPhrase - the status reason phrase for this response.public final HttpResponsePacket build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||