public static final class HttpBrokenContent.Builder extends HttpContent.Builder<HttpBrokenContent.Builder>
content, httpHeader, last| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
| Modifier and Type | Method and Description |
|---|---|
HttpBrokenContent |
build()
Build the HttpTrailer message.
|
protected HttpContent |
create() |
HttpBrokenContent.Builder |
error(Throwable cause)
Set the exception.
|
content, httpHeader, last, resetpublic final HttpBrokenContent.Builder error(Throwable cause)
cause - Throwable.public final HttpBrokenContent build()
build in class HttpContent.Builder<HttpBrokenContent.Builder>protected HttpContent create()
create in class HttpContent.Builder<HttpBrokenContent.Builder>Copyright © 2017 Oracle Corporation. All Rights Reserved.