Class HttpServletEntityByteSequence
- java.lang.Object
-
- net.officefloor.server.http.servlet.HttpServletEntityByteSequence
-
- All Implemented Interfaces:
ByteSequence
public class HttpServletEntityByteSequence extends java.lang.Object implements ByteSequence
ByteSequence
for theHttpServletRequest
entity.- 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 byte
byteAt(int index)
Obtains thebyte
at the index.int
length()
Obtains the number ofbyte
values in theByteSequence
.
-
-
-
Method Detail
-
byteAt
public byte byteAt(int index)
Description copied from interface:ByteSequence
Obtains thebyte
at the index.- Specified by:
byteAt
in interfaceByteSequence
- Parameters:
index
- Index of thebyte
.- Returns:
byte
at the index.
-
length
public int length()
Description copied from interface:ByteSequence
Obtains the number ofbyte
values in theByteSequence
.- Specified by:
length
in interfaceByteSequence
- Returns:
- Number of
byte
values in theByteSequence
.
-
-