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 TypeClassDescriptionclassTheArrayBufferis intended to be a general purpose byte buffer that stores bytes in an single internal byte array.private classASegmentrepresents a segment within a buffer.classTheBufferAllocatorobject is used to provide a means to allocate buffers using a single underlying buffer.(package private) classTheFileBufferobject is used to create a buffer which will write the appended data to an underlying file.private classTheSegmentobject is used to create a segment of the parent buffer.Fields in org.simpleframework.common.buffer declared as BufferModifier and TypeFieldDescriptionprivate BufferBufferAllocator.bufferThis is the underlying buffer all other buffers are within.private BufferArrayBuffer.Segment.parentThis is the parent buffer which is used for collecting data.private BufferFileBuffer.Segment.parentThis 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 BufferBoundaryConsumer.bufferThis is used to consume the contents of the consumed buffer.private final BufferBufferBody.bufferThis is usd to hold the bytes representing the HTTP body.private BufferChunkedConsumer.bufferThis is the internal buffer used to capture the body read.private BufferContentConsumer.bufferThis is the internal buffer used to house the part body.private BufferFixedLengthConsumer.bufferThis is the internal buffer used to accumulate the body.private BufferPartHeaderConsumer.bufferThis is the internal buffer used to store the header.private BufferTokenConsumer.bufferThis is used to append the contents of consumed token.Constructors in org.simpleframework.http.message with parameters of type BufferModifierConstructorDescriptionBufferBody(Buffer buffer) Constructor for theBufferBodyobject.BufferBody(Buffer buffer, PartSeries series) Constructor for theBufferBodyobject.BufferPart(Segment segment, Buffer buffer) Constructor for theBufferPartobject.