org.ow2.jonas.ws.jaxws.http.servlet
Class ServletResponseAdapter

java.lang.Object
  extended by org.ow2.jonas.ws.jaxws.http.servlet.ServletResponseAdapter
All Implemented Interfaces:
org.ow2.jonas.ws.jaxws.IWSResponse

public class ServletResponseAdapter
extends Object
implements org.ow2.jonas.ws.jaxws.IWSResponse


Constructor Summary
ServletResponseAdapter(HttpServletResponse response)
           
 
Method Summary
 void flushBuffer()
           
 OutputStream getOutputStream()
           
 void setContentType(String type)
           
 void setHeader(String name, String value)
           
 void setStatus(int code)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletResponseAdapter

public ServletResponseAdapter(HttpServletResponse response)
Method Detail

getOutputStream

public OutputStream getOutputStream()
                             throws IOException
Specified by:
getOutputStream in interface org.ow2.jonas.ws.jaxws.IWSResponse
Throws:
IOException

flushBuffer

public void flushBuffer()
                 throws IOException
Specified by:
flushBuffer in interface org.ow2.jonas.ws.jaxws.IWSResponse
Throws:
IOException

setContentType

public void setContentType(String type)
Specified by:
setContentType in interface org.ow2.jonas.ws.jaxws.IWSResponse

setHeader

public void setHeader(String name,
                      String value)
Specified by:
setHeader in interface org.ow2.jonas.ws.jaxws.IWSResponse

setStatus

public void setStatus(int code)
Specified by:
setStatus in interface org.ow2.jonas.ws.jaxws.IWSResponse


Copyright © 2009 OW2 Consortium. All Rights Reserved.