org.jconfig.server
Class Response

java.lang.Object
  |
  +--org.jconfig.server.Response

public class Response
extends java.lang.Object

This class implements the Response for the configuration server. It supposed to send back the configuration file. If the file does not exist it will send back a HTTP 404

Author:
Andreas Mecky andreasmecky@yahoo.de, Terry Dye terrydye@yahoo.com

Constructor Summary
Response(java.io.OutputStream output)
           
 
Method Summary
 void sendStaticResource()
           
 void sendStaticResource(java.lang.String fileName)
           
 void setRequest(Request request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Response

public Response(java.io.OutputStream output)
Method Detail

setRequest

public void setRequest(Request request)

sendStaticResource

public void sendStaticResource(java.lang.String fileName)
                        throws java.io.IOException

sendStaticResource

public void sendStaticResource()
                        throws java.io.IOException


Copyright © 2001-2003 Andreas Mecky, Terry Dye. All Rights Reserved.