Class Buffer
- java.lang.Object
-
- org.gatein.pc.portlet.impl.jsr168.Buffer
-
- Direct Known Subclasses:
ByteBuffer,CharBuffer
public abstract class Buffer extends Object
Data produced.- Version:
- $Revision: 5602 $
- Author:
- Julien Viet
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancommited.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcommit()Simulate a response commit.protected abstract voiddoReset()booleanisCommited()voidreset()
-
-
-
Method Detail
-
reset
public void reset()
-
doReset
protected abstract void doReset()
-
commit
public void commit() throws IllegalStateExceptionSimulate a response commit.- Throws:
IllegalStateException- if no content type is defined
-
isCommited
public boolean isCommited()
-
-