Package org.glassfish.jsp.api
Interface ByteWriter
-
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.- Author:
- Kin-man Chung
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
write(byte[] buff, int off, int len)
Write a portion of a byte array to the output.
-
-
-
Method Detail
-
write
void write(byte[] buff, int off, int len) throws IOException
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
-
-