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 BufferModifier and TypeClassDescriptionclass
TheArrayBuffer
is intended to be a general purpose byte buffer that stores bytes in an single internal byte array.private class
ASegment
represents a segment within a buffer.class
TheBufferAllocator
object is used to provide a means to allocate buffers using a single underlying buffer.(package private) class
TheFileBuffer
object is used to create a buffer which will write the appended data to an underlying file.private class
TheSegment
object is used to create a segment of the parent buffer.Fields in org.simpleframework.common.buffer declared as BufferModifier and TypeFieldDescriptionprivate 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 BufferModifier and TypeMethodDescriptionAllocator.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 -
Uses of Buffer in org.simpleframework.http.message
Fields in org.simpleframework.http.message declared as BufferModifier and TypeFieldDescriptionprivate 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 BufferModifierConstructorDescriptionBufferBody
(Buffer buffer) Constructor for theBufferBody
object.BufferBody
(Buffer buffer, PartSeries series) Constructor for theBufferBody
object.BufferPart
(Segment segment, Buffer buffer) Constructor for theBufferPart
object.