Framework Professional Edition Package


com.prosyst.mbs.services.http.jsp
Interface JspMagicWriter


public interface JspMagicWriter

This interface allow jsps write bytes to the client. JspWriter has write methods only for character data.


Method Summary
 void write(byte[] bytes)
          Writes the specified bytes into the response output.
 void write(byte[] bytes, int start, int len)
          Writes the specified bytes into the response writer.
 

Method Detail

write

void write(byte[] bytes,
           int start,
           int len)
           throws java.io.IOException
Writes the specified bytes into the response writer. If there is some contents in the buffer of the JspWriter, it will be flushed before writing the bytes.

Parameters:
bytes - to be written
start - offset to get bytes
len - number of bytes to write
Throws:
java.io.IOException

write

void write(byte[] bytes)
           throws java.io.IOException
Writes the specified bytes into the response output. If there is some contents in the buffer of the JspWriter, it will be flushed before writing the bytes.

Parameters:
bytes - to be written
Throws:
java.io.IOException

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved