Uses of Interface
org.simpleframework.common.buffer.Buffer

Packages that use Buffer
  • Uses of Buffer in org.simpleframework.common.buffer

    Classes in org.simpleframework.common.buffer that implement Buffer
    Modifier and Type
    Class
    Description
    class 
    The ArrayBuffer is intended to be a general purpose byte buffer that stores bytes in an single internal byte array.
    private class 
    A Segment represents a segment within a buffer.
    class 
    The BufferAllocator object is used to provide a means to allocate buffers using a single underlying buffer.
    (package private) class 
    The FileBuffer object is used to create a buffer which will write the appended data to an underlying file.
    private class 
    The Segment object is used to create a segment of the parent buffer.
    Modifier and Type
    Field
    Description
    private Buffer
    BufferAllocator.buffer
    This is the underlying buffer all other buffers are within.
    private Buffer
    ArrayBuffer.Segment.parent
    This is the parent buffer which is used for collecting data.
    private Buffer
    FileBuffer.Segment.parent
    This is the parent buffer that bytes are to be appended to.
    Modifier and Type
    Method
    Description
    Allocator.allocate()
    This method is used to allocate a default buffer.
    Allocator.allocate(long size)
    This method is used to allocate a default buffer.
    ArrayAllocator.allocate()
    This method is used to allocate a default buffer.
    ArrayAllocator.allocate(long size)
    This method is used to allocate a default buffer.
    ArrayBuffer.allocate()
    This method is used to allocate a segment of this buffer as a separate buffer object.
    ArrayBuffer.Segment.allocate()
    This method is used to allocate a segment of this buffer as a separate buffer object.
    Buffer.allocate()
    This method is used to allocate a segment of this buffer as a separate buffer object.
    BufferAllocator.allocate()
    This method is used to allocate a default buffer.
    BufferAllocator.allocate(long size)
    This method is used to allocate a default buffer.
    FileAllocator.allocate()
    This will allocate a file buffer which will write data for the buffer to a file.
    FileAllocator.allocate(long size)
    This will allocate a file buffer which will write data for the buffer to a file.
    FileBuffer.allocate()
    This is used to allocate a segment within this buffer.
    FileBuffer.Segment.allocate()
    This is used to allocate a segment within this buffer.
    FilterAllocator.allocate()
    This method is used to allocate a default buffer.
    FilterAllocator.allocate(long size)
    This method is used to allocate a default buffer.
    ArrayBuffer.append(byte[] array)
    This method is used to append bytes to the end of the buffer.
    ArrayBuffer.append(byte[] array, int off, int size)
    This method is used to append bytes to the end of the buffer.
    ArrayBuffer.Segment.append(byte[] array)
    This method is used to append bytes to the end of the buffer.
    ArrayBuffer.Segment.append(byte[] array, int off, int size)
    This method is used to append bytes to the end of the buffer.
    Buffer.append(byte[] array)
    This method is used to append bytes to the end of the buffer.
    Buffer.append(byte[] array, int off, int len)
    This method is used to append bytes to the end of the buffer.
    BufferAllocator.append(byte[] array)
    This method is used to append bytes to the end of the buffer.
    BufferAllocator.append(byte[] array, int off, int size)
    This method is used to append bytes to the end of the buffer.
    FileBuffer.append(byte[] array)
    This is used to append the specified data to the underlying file.
    FileBuffer.append(byte[] array, int off, int size)
    This is used to append the specified data to the underlying file.
    FileBuffer.Segment.append(byte[] array)
    This is used to append the specified data to the underlying file.
    FileBuffer.Segment.append(byte[] array, int off, int size)
    This is used to append the specified data to the underlying file.
    Constructors in org.simpleframework.common.buffer with parameters of type Buffer
    Modifier
    Constructor
    Description
     
    Segment(Buffer parent, int start)
    Constructor for the Segment object.
     
    Segment(Buffer parent, long first)
    Constructor for the Segment object.
  • Uses of Buffer in org.simpleframework.http.message

    Modifier and Type
    Field
    Description
    private Buffer
    BoundaryConsumer.buffer
    This is used to consume the contents of the consumed buffer.
    private final Buffer
    BufferBody.buffer
    This is usd to hold the bytes representing the HTTP body.
    private Buffer
    ChunkedConsumer.buffer
    This is the internal buffer used to capture the body read.
    private Buffer
    ContentConsumer.buffer
    This is the internal buffer used to house the part body.
    private Buffer
    FixedLengthConsumer.buffer
    This is the internal buffer used to accumulate the body.
    private Buffer
    PartHeaderConsumer.buffer
    This is the internal buffer used to store the header.
    private Buffer
    TokenConsumer.buffer
    This is used to append the contents of consumed token.
    Constructors in org.simpleframework.http.message with parameters of type Buffer
    Modifier
    Constructor
    Description
     
    Constructor for the BufferBody object.
     
    BufferBody(Buffer buffer, PartSeries series)
    Constructor for the BufferBody object.
     
    BufferPart(Segment segment, Buffer buffer)
    Constructor for the BufferPart object.