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 Details

    • ByteBuffer

      public ByteBuffer()
  • Method Details

    • 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
    • doReset

      protected void doReset()
      Specified by:
      doReset in class Buffer