com.sibvisions.rad.server
Interface IResponse


public interface IResponse

Defines an object to assist a servre in sending a response to the client.


Method Summary
 void close()
          Notifies that processing is finished.
 OutputStream getOutputStream()
          Returns an OutputStream suitable for writing binary data in the response.
 void setProperty(String pKey, Object pValue)
          Sets a response property.
 

Method Detail

getOutputStream

OutputStream getOutputStream()
                             throws IOException
Returns an OutputStream suitable for writing binary data in the response.

Returns:
an OutputStream for writing binary data
Throws:
IOException - if an input or output exception occurred

setProperty

void setProperty(String pKey,
                 Object pValue)
Sets a response property.

Parameters:
pKey - the property name
pValue - the value

close

void close()
Notifies that processing is finished.



Copyright © 2009 SIB Visions GmbH. All Rights Reserved.