org.glassfish.grizzly.http.util
Class CacheableDataChunk

java.lang.Object
  extended by org.glassfish.grizzly.http.util.DataChunk
      extended by org.glassfish.grizzly.http.util.CacheableDataChunk

public class CacheableDataChunk
extends DataChunk

DataChunk implementation, which could be cached in the thread cache.

Author:
Alexey Stashok

Nested Class Summary
 
Nested classes/interfaces inherited from class org.glassfish.grizzly.http.util.DataChunk
DataChunk.Type
 
Constructor Summary
CacheableDataChunk()
           
 
Method Summary
static CacheableDataChunk create()
           
 void recycle()
           
 void reset()
           
 
Methods inherited from class org.glassfish.grizzly.http.util.DataChunk
delete, duplicate, equals, equalsIgnoreCase, equalsIgnoreCase, equalsIgnoreCaseLowerCase, getBufferChunk, getCharChunk, getEnd, getLength, getStart, getType, hashCode, indexOf, indexOf, isNull, newInstance, newInstance, notifyDirectUpdate, onContentChanged, resetBuffer, resetCharChunk, resetString, set, setBuffer, setBuffer, setBuffer, setChars, setString, startsWith, startsWithIgnoreCase, toChars, toImmutable, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheableDataChunk

public CacheableDataChunk()
Method Detail

create

public static CacheableDataChunk create()

reset

public void reset()
Overrides:
reset in class DataChunk

recycle

public void recycle()
Overrides:
recycle in class DataChunk


Copyright © 2012 Oracle Corporation. All Rights Reserved.