org.apache.geronimo.jetty6
Class JettyEJBWebServiceContext.ResponseAdapter

java.lang.Object
  extended by org.apache.geronimo.jetty6.JettyEJBWebServiceContext.ResponseAdapter
All Implemented Interfaces:
WebServiceContainer.Response
Enclosing class:
JettyEJBWebServiceContext

public static class JettyEJBWebServiceContext.ResponseAdapter
extends Object
implements WebServiceContainer.Response


Constructor Summary
JettyEJBWebServiceContext.ResponseAdapter(org.mortbay.jetty.Response response)
           
 
Method Summary
 void flushBuffer()
           
 String getContentType()
           
 String getHeader(String name)
           
 OutputStream getOutputStream()
           
 int getStatusCode()
           
 void setContentType(String type)
           
 void setHeader(String name, String value)
           
 void setStatusCode(int code)
           
 void setStatusMessage(String responseString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyEJBWebServiceContext.ResponseAdapter

public JettyEJBWebServiceContext.ResponseAdapter(org.mortbay.jetty.Response response)
Method Detail

setHeader

public void setHeader(String name,
                      String value)
Specified by:
setHeader in interface WebServiceContainer.Response

getHeader

public String getHeader(String name)
Specified by:
getHeader in interface WebServiceContainer.Response

getOutputStream

public OutputStream getOutputStream()
Specified by:
getOutputStream in interface WebServiceContainer.Response

setStatusCode

public void setStatusCode(int code)
Specified by:
setStatusCode in interface WebServiceContainer.Response

getStatusCode

public int getStatusCode()
Specified by:
getStatusCode in interface WebServiceContainer.Response

setContentType

public void setContentType(String type)
Specified by:
setContentType in interface WebServiceContainer.Response

getContentType

public String getContentType()
Specified by:
getContentType in interface WebServiceContainer.Response

setStatusMessage

public void setStatusMessage(String responseString)
Specified by:
setStatusMessage in interface WebServiceContainer.Response

flushBuffer

public void flushBuffer()
                 throws IOException
Specified by:
flushBuffer in interface WebServiceContainer.Response
Throws:
IOException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.