org.glassfish.grizzly.http
Class ParsingResult

java.lang.Object
  extended by org.glassfish.grizzly.http.ParsingResult
All Implemented Interfaces:
Cacheable

public final class ParsingResult
extends Object
implements Cacheable

Class, which represents result of TransferEncoding or ContentEncoding parsing.

Author:
Alexey Stashok

Method Summary
static ParsingResult create(HttpContent httpContent, Buffer remainderBuffer)
           
 HttpContent getHttpContent()
           
 Buffer getRemainderBuffer()
           
 void recycle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static ParsingResult create(HttpContent httpContent,
                                   Buffer remainderBuffer)

getRemainderBuffer

public Buffer getRemainderBuffer()

getHttpContent

public HttpContent getHttpContent()

recycle

public void recycle()
Specified by:
recycle in interface Cacheable


Copyright © 2010 Oracle Corpration. All Rights Reserved.