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