Oracle

com.compoze.util
Class ByteDataServlet

java.lang.Object
  extended by HttpServlet
      extended by com.compoze.util.ByteDataServlet

public abstract class ByteDataServlet
extends HttpServlet

This class is a servlet that writes an array of bytes to the output stream.


Constructor Summary
ByteDataServlet()
           
 
Method Summary
 void processData(java.io.OutputStream os, byte[] data)
          Handles the processing of byte data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteDataServlet

public ByteDataServlet()
Method Detail

processData

public void processData(java.io.OutputStream os,
                        byte[] data)
                 throws ServletException,
                        java.io.IOException
Handles the processing of byte data.

Parameters:
os - the output stream to write byte data to
data - the byte data to write
Throws:
ServletException - thrown to wrap underlying exceptions
java.io.IOException - if an i/o exception occurred

Oracle

Copyright ©1999-2008 Oracle All rights reserved.