org.apache.geronimo.jetty
Class JettyEJBWebServiceContext.ResponseAdapter

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

public static class JettyEJBWebServiceContext.ResponseAdapter
extends Object
implements org.apache.geronimo.webservices.WebServiceContainer.Response


Constructor Summary
JettyEJBWebServiceContext.ResponseAdapter(org.mortbay.http.HttpResponse response)
           
 
Method Summary
 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.http.HttpResponse response)
Method Detail

setHeader

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

getHeader

public String getHeader(String name)
Specified by:
getHeader in interface org.apache.geronimo.webservices.WebServiceContainer.Response

getOutputStream

public OutputStream getOutputStream()
Specified by:
getOutputStream in interface org.apache.geronimo.webservices.WebServiceContainer.Response

setStatusCode

public void setStatusCode(int code)
Specified by:
setStatusCode in interface org.apache.geronimo.webservices.WebServiceContainer.Response

getStatusCode

public int getStatusCode()
Specified by:
getStatusCode in interface org.apache.geronimo.webservices.WebServiceContainer.Response

setContentType

public void setContentType(String type)
Specified by:
setContentType in interface org.apache.geronimo.webservices.WebServiceContainer.Response

getContentType

public String getContentType()
Specified by:
getContentType in interface org.apache.geronimo.webservices.WebServiceContainer.Response

setStatusMessage

public void setStatusMessage(String responseString)
Specified by:
setStatusMessage in interface org.apache.geronimo.webservices.WebServiceContainer.Response


Copyright © 2006 Apache Software Foundation. All Rights Reserved.