HttpContent message, which represents broken HTTP content. isLast() is always returns true,
getContent() always throws HttpBrokenContentException().
HttpContent#isBroken(org.glassfish.grizzly.http.HttpContent)
| Modifier and Type | Class and Description |
|---|---|
| public static class | HttpBrokenContent.
HttpTrailer message builder. |
| Modifier and Type | Field and Description |
|---|---|
| private static final ThreadCache. | |
| private Throwable |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static HttpBrokenContent. | Returns: Builder.Hides org. Returns |
| public static HttpBrokenContent | |
| public static HttpBrokenContent | |
| public Buffer | getContent()
Overrides org. Get the HTTP message content |
| public Throwable | Returns: Throwable, which describes the error.Returns |
| public final boolean | Returns: Always true true for the trailer message.Overrides org. Always true true for the trailer message. |
| public void | recycle()
Overrides org. Implements org.
|
| protected void |
| CACHE_IDX | back to summary |
|---|---|
| private static final ThreadCache. | |
| exception | back to summary |
|---|---|
| private Throwable exception | |
| HttpBrokenContent | back to summary |
|---|---|
| protected HttpBrokenContent(final HttpHeader httpHeader) | |
| builder | back to summary |
|---|---|
| public static HttpBrokenContent. Hides org. Returns
| |
| create | back to summary |
|---|---|
| public static HttpBrokenContent create() | |
| create | back to summary |
|---|---|
| public static HttpBrokenContent create(final HttpHeader httpHeader) | |
| getContent | back to summary |
|---|---|
| public Buffer getContent() Overrides org. Doc from org. Get the HTTP message content
| |
| getException | back to summary |
|---|---|
| public Throwable getException() Returns | |
| isLast | back to summary |
|---|---|
| public final boolean isLast() Overrides org. Always true true for the trailer message.
| |
| recycle | back to summary |
|---|---|
| public void recycle() Overrides org. Implements org.
| |
| reset | back to summary |
|---|---|
| protected void reset() Overrides org. Doc from org. Reset the internal state.
| |
| Modifier and Type | Field and Description |
|---|---|
| private Throwable |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public HttpBrokenContent | Returns: HttpTrailerOverrides org. Build the HttpTrailer message. |
| protected HttpContent | |
| public HttpBrokenContent. |
| cause | back to summary |
|---|---|
| private Throwable cause | |
| Builder | back to summary |
|---|---|
| protected Builder() | |
| build | back to summary |
|---|---|
| public HttpBrokenContent build() Overrides org. Build the HttpTrailer message.
| |
| create | back to summary |
|---|---|
| protected HttpContent create() Overrides org.
| |
| error | back to summary |
|---|---|
| public HttpBrokenContent. Set the exception. | |