Uses of Interface
org.simpleframework.transport.ByteCursor
-
Packages that use ByteCursor Package Description org.simpleframework.http.core org.simpleframework.http.message org.simpleframework.http.socket.service org.simpleframework.transport -
-
Uses of ByteCursor in org.simpleframework.http.core
Fields in org.simpleframework.http.core declared as ByteCursor Modifier and Type Field Description private ByteCursor
RequestCollector. cursor
This is the cursor used to read and reset the data. -
Uses of ByteCursor in org.simpleframework.http.message
Classes in org.simpleframework.http.message that implement ByteCursor Modifier and Type Class Description private class
FileUploadConsumer.ByteCounter
TheByteCounter
is a wrapper for a cursor that can be used to restrict the number of bytes consumed.Fields in org.simpleframework.http.message declared as ByteCursor Modifier and Type Field Description private ByteCursor
FileUploadConsumer.ByteCounter. cursor
This is the cursor that this counter will delegate to.Methods in org.simpleframework.http.message with parameters of type ByteCursor Modifier and Type Method Description protected void
ContentConsumer. commit(ByteCursor cursor)
This is used to push the start and boundary back on to the cursor.protected void
UpdateConsumer. commit(ByteCursor cursor)
This method can be used to commit the consumer when all data has been consumed.void
ArrayConsumer. consume(ByteCursor cursor)
This method is used to consume bytes from the provided cursor.void
ByteConsumer. consume(ByteCursor cursor)
This method is used to consume bytes from the provided cursor.void
EmptyConsumer. consume(ByteCursor cursor)
This method will not consume any bytes from the cursor.void
EntityConsumer. consume(ByteCursor cursor)
This consumes the header and body from the cursor.void
FileUploadConsumer. consume(ByteCursor cursor)
This method is used to consume bytes from the provided cursor.void
PartBodyConsumer. consume(ByteCursor cursor)
This is used to consume the part body from the cursor.void
PartConsumer. consume(ByteCursor cursor)
This is used to consume the part body from the cursor.void
PartEntryConsumer. consume(ByteCursor cursor)
This is used to consume the part body from the cursor.void
PartSeriesConsumer. consume(ByteCursor cursor)
This is used to consume the part list from the cursor.void
UpdateConsumer. consume(ByteCursor cursor)
This method is used to consume bytes from the provided cursor.Constructors in org.simpleframework.http.message with parameters of type ByteCursor Constructor Description ByteCounter(ByteCursor cursor)
Constructor for theCounter
object. -
Uses of ByteCursor in org.simpleframework.http.socket.service
Fields in org.simpleframework.http.socket.service declared as ByteCursor Modifier and Type Field Description private ByteCursor
FrameCollector. cursor
This is the cursor used to maintain a stream seek position.private ByteCursor
FrameProcessor. cursor
This is the cursor used to maintain a read seek position.Methods in org.simpleframework.http.socket.service with parameters of type ByteCursor Modifier and Type Method Description void
FrameConsumer. consume(ByteCursor cursor)
This consumes frame bytes using the provided cursor.void
FrameHeaderConsumer. consume(ByteCursor cursor)
This consumes frame bytes using the provided cursor. -
Uses of ByteCursor in org.simpleframework.transport
Classes in org.simpleframework.transport that implement ByteCursor Modifier and Type Class Description class
TransportCursor
TheTransportCursor
object represents a cursor that can read and buffer data from an underlying transport.Fields in org.simpleframework.transport declared as ByteCursor Modifier and Type Field Description private ByteCursor
TransportChannel. cursor
This is used to provide a cursor view on the input.Methods in org.simpleframework.transport that return ByteCursor Modifier and Type Method Description ByteCursor
Channel. getCursor()
This provides aByteCursor
for this channel.ByteCursor
TransportChannel. getCursor()
This provides aByteCursor
for this channel.
-