Uses of Interface
org.simpleframework.common.buffer.Buffer
-
Packages that use Buffer Package Description org.simpleframework.common.buffer org.simpleframework.http.message -
-
Uses of Buffer in org.simpleframework.common.buffer
Classes in org.simpleframework.common.buffer that implement Buffer Modifier and Type Class Description class
ArrayBuffer
TheArrayBuffer
is intended to be a general purpose byte buffer that stores bytes in an single internal byte array.private class
ArrayBuffer.Segment
ASegment
represents a segment within a buffer.class
BufferAllocator
TheBufferAllocator
object is used to provide a means to allocate buffers using a single underlying buffer.(package private) class
FileBuffer
TheFileBuffer
object is used to create a buffer which will write the appended data to an underlying file.private class
FileBuffer.Segment
TheSegment
object is used to create a segment of the parent buffer.Fields in org.simpleframework.common.buffer declared as 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.Methods in org.simpleframework.common.buffer that return Buffer Modifier and Type Method Description Buffer
Allocator. allocate()
This method is used to allocate a default buffer.Buffer
Allocator. allocate(long size)
This method is used to allocate a default buffer.Buffer
ArrayAllocator. allocate()
This method is used to allocate a default buffer.Buffer
ArrayAllocator. allocate(long size)
This method is used to allocate a default buffer.Buffer
ArrayBuffer. allocate()
This method is used to allocate a segment of this buffer as a separate buffer object.Buffer
ArrayBuffer.Segment. allocate()
This method is used to allocate a segment of this buffer as a separate buffer object.Buffer
Buffer. allocate()
This method is used to allocate a segment of this buffer as a separate buffer object.Buffer
BufferAllocator. allocate()
This method is used to allocate a default buffer.Buffer
BufferAllocator. allocate(long size)
This method is used to allocate a default buffer.Buffer
FileAllocator. allocate()
This will allocate a file buffer which will write data for the buffer to a file.Buffer
FileAllocator. allocate(long size)
This will allocate a file buffer which will write data for the buffer to a file.Buffer
FileBuffer. allocate()
This is used to allocate a segment within this buffer.Buffer
FileBuffer.Segment. allocate()
This is used to allocate a segment within this buffer.Buffer
FilterAllocator. allocate()
This method is used to allocate a default buffer.Buffer
FilterAllocator. allocate(long size)
This method is used to allocate a default buffer.Buffer
ArrayBuffer. append(byte[] array)
This method is used to append bytes to the end of the buffer.Buffer
ArrayBuffer. append(byte[] array, int off, int size)
This method is used to append bytes to the end of the buffer.Buffer
ArrayBuffer.Segment. append(byte[] array)
This method is used to append bytes to the end of the buffer.Buffer
ArrayBuffer.Segment. append(byte[] array, int off, int size)
This method is used to append bytes to the end of the buffer.Buffer
Buffer. append(byte[] array)
This method is used to append bytes to the end of the buffer.Buffer
Buffer. append(byte[] array, int off, int len)
This method is used to append bytes to the end of the buffer.Buffer
BufferAllocator. append(byte[] array)
This method is used to append bytes to the end of the buffer.Buffer
BufferAllocator. append(byte[] array, int off, int size)
This method is used to append bytes to the end of the buffer.Buffer
FileBuffer. append(byte[] array)
This is used to append the specified data to the underlying file.Buffer
FileBuffer. append(byte[] array, int off, int size)
This is used to append the specified data to the underlying file.Buffer
FileBuffer.Segment. append(byte[] array)
This is used to append the specified data to the underlying file.Buffer
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 Constructor Description Segment(Buffer parent, int start)
Constructor for theSegment
object.Segment(Buffer parent, long first)
Constructor for theSegment
object. -
Uses of Buffer in org.simpleframework.http.message
Fields in org.simpleframework.http.message declared as Buffer Modifier and Type Field Description private Buffer
BoundaryConsumer. buffer
This is used to consume the contents of the consumed buffer.private 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 Constructor Description BufferBody(Buffer buffer)
Constructor for theBufferBody
object.BufferBody(Buffer buffer, PartSeries series)
Constructor for theBufferBody
object.BufferPart(Segment segment, Buffer buffer)
Constructor for theBufferPart
object.
-