Class HttpServletEntityByteSequence
- java.lang.Object
-
- net.officefloor.server.http.servlet.HttpServletEntityByteSequence
-
- All Implemented Interfaces:
ByteSequence
public class HttpServletEntityByteSequence extends java.lang.Object implements ByteSequence
ByteSequencefor theHttpServletRequestentity.- Author:
- Daniel Sagenschneider
-
-
Field Summary
-
Fields inherited from interface net.officefloor.server.stream.impl.ByteSequence
EMPTY
-
-
Constructor Summary
Constructors Constructor Description HttpServletEntityByteSequence(javax.servlet.http.HttpServletRequest request)Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytebyteAt(int index)Obtains thebyteat the index.intlength()Obtains the number ofbytevalues in theByteSequence.
-
-
-
Method Detail
-
byteAt
public byte byteAt(int index)
Description copied from interface:ByteSequenceObtains thebyteat the index.- Specified by:
byteAtin interfaceByteSequence- Parameters:
index- Index of thebyte.- Returns:
byteat the index.
-
length
public int length()
Description copied from interface:ByteSequenceObtains the number ofbytevalues in theByteSequence.- Specified by:
lengthin interfaceByteSequence- Returns:
- Number of
bytevalues in theByteSequence.
-
-