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 ByteCursorRequestCollector. cursorThis 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 classFileUploadConsumer.ByteCounterTheByteCounteris 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 ByteCursorFileUploadConsumer.ByteCounter. cursorThis 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 voidContentConsumer. commit(ByteCursor cursor)This is used to push the start and boundary back on to the cursor.protected voidUpdateConsumer. commit(ByteCursor cursor)This method can be used to commit the consumer when all data has been consumed.voidArrayConsumer. consume(ByteCursor cursor)This method is used to consume bytes from the provided cursor.voidByteConsumer. consume(ByteCursor cursor)This method is used to consume bytes from the provided cursor.voidEmptyConsumer. consume(ByteCursor cursor)This method will not consume any bytes from the cursor.voidEntityConsumer. consume(ByteCursor cursor)This consumes the header and body from the cursor.voidFileUploadConsumer. consume(ByteCursor cursor)This method is used to consume bytes from the provided cursor.voidPartBodyConsumer. consume(ByteCursor cursor)This is used to consume the part body from the cursor.voidPartConsumer. consume(ByteCursor cursor)This is used to consume the part body from the cursor.voidPartEntryConsumer. consume(ByteCursor cursor)This is used to consume the part body from the cursor.voidPartSeriesConsumer. consume(ByteCursor cursor)This is used to consume the part list from the cursor.voidUpdateConsumer. 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 theCounterobject. -
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 ByteCursorFrameCollector. cursorThis is the cursor used to maintain a stream seek position.private ByteCursorFrameProcessor. cursorThis 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 voidFrameConsumer. consume(ByteCursor cursor)This consumes frame bytes using the provided cursor.voidFrameHeaderConsumer. 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 classTransportCursorTheTransportCursorobject 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 ByteCursorTransportChannel. cursorThis is used to provide a cursor view on the input.Methods in org.simpleframework.transport that return ByteCursor Modifier and Type Method Description ByteCursorChannel. getCursor()This provides aByteCursorfor this channel.ByteCursorTransportChannel. getCursor()This provides aByteCursorfor this channel.
-