org.ow2.jonas.ws.jaxws
Interface IWSResponse

All Known Implementing Classes:
ServletResponseAdapter

public interface IWSResponse

An IWSResponse represents a web service response to an IWebServiceEndpoint.

Author:
Guillaume Sauthier

Method Summary
 void flushBuffer()
           
 OutputStream getOutputStream()
           
 void setContentType(String type)
           
 void setHeader(String name, String value)
           
 void setStatus(int code)
           
 

Method Detail

getOutputStream

OutputStream getOutputStream()
                             throws IOException
Returns:
the OutputStream to be used for response.
Throws:
IOException - when an OutputStream is not available

setStatus

void setStatus(int code)

setHeader

void setHeader(String name,
               String value)

flushBuffer

void flushBuffer()
                 throws IOException
Throws:
IOException

setContentType

void setContentType(String type)


Copyright © 2010 OW2 Consortium. All Rights Reserved.