java.lang.Object
org.glassfish.grizzly.http.ParsingResult
- All Implemented Interfaces:
org.glassfish.grizzly.Cacheable
Class, which represents result of
TransferEncoding or ContentEncoding parsing.- Author:
- Alexey Stashok
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParsingResultcreate(HttpContent httpContent, org.glassfish.grizzly.Buffer remainderBuffer) static ParsingResultcreate(HttpContent httpContent, org.glassfish.grizzly.Buffer remainderBuffer, boolean sendHeaderUpstream) org.glassfish.grizzly.Bufferbooleanvoidrecycle()
-
Method Details
-
create
public static ParsingResult create(HttpContent httpContent, org.glassfish.grizzly.Buffer remainderBuffer) -
create
public static ParsingResult create(HttpContent httpContent, org.glassfish.grizzly.Buffer remainderBuffer, boolean sendHeaderUpstream) -
getRemainderBuffer
public org.glassfish.grizzly.Buffer getRemainderBuffer() -
getHttpContent
-
isSendHeaderUpstream
public boolean isSendHeaderUpstream() -
recycle
public void recycle()- Specified by:
recyclein interfaceorg.glassfish.grizzly.Cacheable
-