|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.http.HttpContent.Builder<HttpBrokenContent.Builder>
org.glassfish.grizzly.http.HttpBrokenContent.Builder
public static final class HttpBrokenContent.Builder
HttpTrailer message builder.
| Field Summary |
|---|
| Fields inherited from class org.glassfish.grizzly.http.HttpContent.Builder |
|---|
packet |
| Constructor Summary | |
|---|---|
protected |
HttpBrokenContent.Builder(HttpHeader httpHeader)
|
| Method Summary | |
|---|---|
HttpContent |
build()
Build the HttpTrailer message. |
HttpBrokenContent.Builder |
error(HttpBrokenContentException exception)
Set the exception. |
HttpBrokenContent.Builder |
error(String message)
Set the exception. |
HttpBrokenContent.Builder |
error(String message,
Throwable cause)
Set the exception. |
HttpBrokenContent.Builder |
error(Throwable cause)
Set the exception. |
| 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 HttpBrokenContent.Builder(HttpHeader httpHeader)
| Method Detail |
|---|
public final HttpBrokenContent.Builder error(HttpBrokenContentException exception)
exception - HttpBrokenContentException.public final HttpBrokenContent.Builder error(Throwable cause)
cause - error description.public final HttpBrokenContent.Builder error(String message)
message - error description.
public final HttpBrokenContent.Builder error(String message,
Throwable cause)
error - error description.public final HttpContent build()
build in class HttpContent.Builder<HttpBrokenContent.Builder>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||