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
 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 java.io.IOException
Write a portion of a byte array to the output.

Parameters:
buff - A byte array
off - Offset from which to start reading byte
len - Number of bytes to write
Throws:
java.io.IOException


Copyright © 2010 GlassFish Community. All Rights Reserved.