org.glassfish.grizzly.http.util
Class CacheableBufferChunk

java.lang.Object
  extended by org.glassfish.grizzly.http.util.BufferChunk
      extended by org.glassfish.grizzly.http.util.CacheableBufferChunk

public class CacheableBufferChunk
extends BufferChunk

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

Author:
Alexey Stashok

Constructor Summary
CacheableBufferChunk()
           
 
Method Summary
static CacheableBufferChunk create()
           
 void recycle()
           
 void reset()
           
 
Methods inherited from class org.glassfish.grizzly.http.util.BufferChunk
compare, compareIgnoreCase, equals, equalsIgnoreCase, findBytesAscii, getBuffer, getEnd, getStart, hasBuffer, hasString, indexOf, indexOf, isNull, lock, newInstance, onContentChanged, resetBuffer, resetString, resetStringCache, set, setBuffer, setBuffer, setEnd, setStart, setString, size, startsWith, startsWithIgnoreCase, toString, toString, unlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheableBufferChunk

public CacheableBufferChunk()
Method Detail

create

public static CacheableBufferChunk create()

reset

public void reset()
Overrides:
reset in class BufferChunk

recycle

public void recycle()
Overrides:
recycle in class BufferChunk


Copyright © 2010 Oracle Corpration. All Rights Reserved.