Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jreceiver.client.common.servlet
Interface BaseResponseWriter  view BaseResponseWriter download BaseResponseWriter.java

All Known Implementing Classes:
ResponseStreamWriter, ResponseWriter

public interface BaseResponseWriter

interface for writing servlet responses, be they plain text or binary

Version:
$Revision: 1.2 $ $Date: 2002/07/31 11:29:41 $

Method Summary
 void close()
          release all resources associated with this response writer
 void respond(javax.servlet.http.HttpServletResponse resp)
          send the response to the servlet
 void write(byte[] ar)
          byte writer to the byte or text stream (depends on subclass implementation)
 void write(java.lang.String str)
          string writer to the byte or text stream (depends on subclass implementation)
 void write4(int n, boolean msb)
          int writer to the byte or text stream (depends on subclass implementation)
 

Method Detail

respond

public void respond(javax.servlet.http.HttpServletResponse resp)
             throws java.io.IOException
send the response to the servlet


write

public void write(java.lang.String str)
           throws java.io.IOException
string writer to the byte or text stream (depends on subclass implementation)


write

public void write(byte[] ar)
           throws java.io.IOException
byte writer to the byte or text stream (depends on subclass implementation)


write4

public void write4(int n,
                   boolean msb)
            throws java.io.IOException
int writer to the byte or text stream (depends on subclass implementation)


close

public void close()
           throws java.io.IOException
release all resources associated with this response writer