Interface ByteWriter
- All Known Implementing Classes:
ServletResponseWrapperInclude.PrintWriterWrapper
public interface ByteWriter
This interface defines additional functionalities a web container can
provide for the response writer. If implementated, perfermance will
likely to be improved.
-
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(byte[] buff, int off, int len) Write a portion of a byte array to the output.
-
Method Details
-
write
Write a portion of a byte array to the output.- Parameters:
buff- A byte arrayoff- Offset from which to start reading bytelen- Number of bytes to write- Throws:
IOException
-