|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.http.HttpPacket
org.glassfish.grizzly.http.HttpContent
org.glassfish.grizzly.http.HttpBrokenContent
public class HttpBrokenContent
HttpContent message, which represents broken HTTP content.
isLast() is always returns true,
getContent() always throws HttpBrokenContentException().
| Nested Class Summary | |
|---|---|
static class |
HttpBrokenContent.Builder
HttpTrailer message builder. |
| Field Summary |
|---|
| Fields inherited from class org.glassfish.grizzly.http.HttpContent |
|---|
content, httpHeader, isLast |
| Constructor Summary | |
|---|---|
protected |
HttpBrokenContent(HttpHeader httpHeader)
|
| Method Summary | |
|---|---|
static HttpBrokenContent.Builder |
builder(HttpHeader httpHeader)
Returns HttpTrailer builder. |
static HttpBrokenContent |
create()
|
static HttpBrokenContent |
create(HttpHeader httpHeader)
|
Buffer |
getContent()
Get the HTTP message content Buffer. |
HttpBrokenContentException |
getException()
Returns HttpBrokenContentException, which describes the error. |
boolean |
isLast()
Always true true for the trailer message. |
void |
recycle()
|
protected void |
reset()
Reset the internal state. |
| Methods inherited from class org.glassfish.grizzly.http.HttpContent |
|---|
append, getHttpHeader, isBroken, isContent, isHeader, setContent, setLast |
| Methods inherited from class org.glassfish.grizzly.http.HttpPacket |
|---|
isHttp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected HttpBrokenContent(HttpHeader httpHeader)
| Method Detail |
|---|
public static HttpBrokenContent create()
public static HttpBrokenContent create(HttpHeader httpHeader)
public static HttpBrokenContent.Builder builder(HttpHeader httpHeader)
HttpTrailer builder.
HttpBrokenContent.Builder.public HttpBrokenContentException getException()
HttpBrokenContentException, which describes the error.
HttpBrokenContentException, which describes the error.public Buffer getContent()
Buffer.
getContent in class HttpContentBuffer.public final boolean isLast()
isLast in class HttpContentprotected void reset()
reset in class HttpContentpublic void recycle()
recycle in interface Cacheablerecycle in class HttpContent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||