FileDocCategorySizeDatePackage
ByteWriter.javaAPI DocGlassfish v2 API2715Fri May 04 22:34:08 BST 2007com.sun.enterprise.web.io

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

Fields Summary
Constructors Summary
Methods Summary
public voidwrite(byte[] buff, int off, int len, int strlen)
Write a portion of a byte array to the output.

param
buff A byte array
param
off Offset from which to start reading byte
param
len Number of bytes to write
param
strlen If non-zero, the length of the string from which the bytes was converted. If zero, then the string length is unknown.