Uses of Interface
org.simpleframework.common.buffer.Allocator
-
Packages that use Allocator Package Description org.simpleframework.common.buffer org.simpleframework.http.core org.simpleframework.http.message -
-
Uses of Allocator in org.simpleframework.common.buffer
Classes in org.simpleframework.common.buffer that implement Allocator Modifier and Type Class Description class
ArrayAllocator
TheArrayAllocator
object is used to provide a means to allocate buffers using a single byte array.class
BufferAllocator
TheBufferAllocator
object is used to provide a means to allocate buffers using a single underlying buffer.class
FileAllocator
TheFileAllocator
object is used to create buffers that can be written to the file system.class
FilterAllocator
TheFilterAllocator
object is used to provide a means to provide a general set of constraints around buffer allocation.Fields in org.simpleframework.common.buffer declared as Allocator Modifier and Type Field Description protected Allocator
FilterAllocator. source
This is the allocator the underlying buffer is allocated with.Constructors in org.simpleframework.common.buffer with parameters of type Allocator Constructor Description BufferAllocator(Allocator source)
Constructor for theBufferAllocator
object.BufferAllocator(Allocator source, long capacity)
Constructor for theBufferAllocator
object.BufferAllocator(Allocator source, long capacity, long limit)
Constructor for theBufferAllocator
object.FilterAllocator(Allocator source)
Constructor for theFilterAllocator
object.FilterAllocator(Allocator source, long capacity)
Constructor for theFilterAllocator
object.FilterAllocator(Allocator source, long capacity, long limit)
Constructor for theFilterAllocator
object. -
Uses of Allocator in org.simpleframework.http.core
Fields in org.simpleframework.http.core declared as Allocator Modifier and Type Field Description private Allocator
ContainerController. allocator
This is the allocator used to create the buffers needed.Constructors in org.simpleframework.http.core with parameters of type Allocator Constructor Description ContainerController(Container container, Allocator allocator, int count, int select)
Constructor for theContainerController
object.ContainerSocketProcessor(Container container, Allocator allocator)
Constructor for theContainerSocketProcessor
object.ContainerSocketProcessor(Container container, Allocator allocator, int count)
Constructor for theContainerSocketProcessor
object.ContainerSocketProcessor(Container container, Allocator allocator, int count, int select)
Constructor for theContainerSocketProcessor
object.ContainerTransportProcessor(Container container, Allocator allocator, int count)
Constructor for theContainerProcessor
object.ContainerTransportProcessor(Container container, Allocator allocator, int count, int select)
Constructor for theContainerProcessor
object.RequestCollector(Allocator allocator, Channel channel)
TheRequestCollector
object used to collect the data from the underlying transport. -
Uses of Allocator in org.simpleframework.http.message
Fields in org.simpleframework.http.message declared as Allocator Modifier and Type Field Description private Allocator
BoundaryConsumer. allocator
This is used to allocate a buffer for for the boundary.private Allocator
ChunkedConsumer. allocator
This is used to create the internal buffer for the body.protected Allocator
ConsumerFactory. allocator
This is used to allocate the memory associated with the body.private Allocator
ContentConsumer. allocator
This is used to allocate the internal buffer when required.private Allocator
FixedLengthConsumer. allocator
This is the allocator used to allocate the buffer used.private Allocator
PartEntryFactory. allocator
This is used to allocate the buffers used by the entry.private Allocator
PartHeaderConsumer. allocator
This is used to allocate the internal buffer for the header.private Allocator
TokenConsumer. allocator
This is used to allocate a buffer to append the contents.Constructors in org.simpleframework.http.message with parameters of type Allocator Constructor Description BoundaryConsumer(Allocator allocator, byte[] boundary)
Constructor for theBoundaryConsumer
object.ChunkedConsumer(Allocator allocator)
Constructor for theChunkedConsumer
object.ChunkedConsumer(Allocator allocator, int chunk)
Constructor for theChunkedConsumer
object.ConsumerFactory(Allocator allocator, Segment segment)
Constructor for theConsumerFactory
object.ContentConsumer(Allocator allocator, Segment segment, PartSeries series, byte[] boundary)
Constructor for theContentConsumer
object.EntityConsumer(Allocator allocator, Channel channel)
Constructor for theEntityConsumer
object.FileUploadConsumer(Allocator allocator, byte[] boundary, long length)
Constructor for theFileUploadConsumer
object.FixedLengthConsumer(Allocator allocator, long limit)
Constructor for theFixedLengthConsumer
object.PartBodyConsumer(Allocator allocator, Segment segment, byte[] boundary)
Constructor for thePartBodyConsumer
object.PartBodyConsumer(Allocator allocator, Segment segment, PartSeries series, byte[] boundary)
Constructor for thePartBodyConsumer
object.PartConsumer(Allocator allocator, PartSeries series, byte[] terminal, long length)
Constructor for thePartConsumer
object.PartEntryConsumer(Allocator allocator, PartSeries series, byte[] terminal, long length)
Constructor for thePartEntryConsumer
object.PartEntryFactory(Allocator allocator, PartSeries series, byte[] terminal, long length)
Constructor for thePartEntryFactory
object.PartFactory(Allocator allocator, Segment header, long length)
Constructor for thePartFactory
object.PartHeaderConsumer(Allocator allocator)
Constructor for thePartHeaderConsumer
object.PartSeriesConsumer(Allocator allocator, byte[] boundary)
Constructor for thePartSeriesConsumer
object.PartSeriesConsumer(Allocator allocator, byte[] boundary, long length)
Constructor for thePartSeriesConsumer
object.PartSeriesConsumer(Allocator allocator, PartSeries series, byte[] boundary)
Constructor for thePartSeriesConsumer
object.PartSeriesConsumer(Allocator allocator, PartSeries series, byte[] boundary, long length)
Constructor for thePartSeriesConsumer
object.TokenConsumer(Allocator allocator, byte[] token)
TheTokenConsumer
object is used to read a token from the cursor.
-