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, reset
public 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 © 2015 Oracle Corporation. All rights reserved.