Class ByteBuffer
- java.lang.Object
-
- org.gatein.pc.portlet.impl.jsr168.Buffer
-
- org.gatein.pc.portlet.impl.jsr168.ByteBuffer
-
public class ByteBuffer extends Buffer
- Author:
- Julien Viet
-
-
Constructor Summary
Constructors Constructor Description ByteBuffer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoReset()byte[]getBytes()Return the bytes of the content held by the fragment or null.OutputStreamgetOutputStream()-
Methods inherited from class org.gatein.pc.portlet.impl.jsr168.Buffer
commit, isCommited, reset
-
-
-
-
Method Detail
-
getBytes
public byte[] getBytes()
Return the bytes of the content held by the fragment or null.- Returns:
- the bytes
-
getOutputStream
public OutputStream getOutputStream() throws IllegalStateException
- Returns:
- the output stream
- Throws:
IllegalStateException- if the window writer is already used or if no content type is defined
-
-