org.apache.geronimo.tomcat
Class TomcatEJBWebServiceContext.RequestAdapter

java.lang.Object
  extended by org.apache.geronimo.tomcat.TomcatEJBWebServiceContext.RequestAdapter
All Implemented Interfaces:
WebServiceContainer.Request
Enclosing class:
TomcatEJBWebServiceContext

public static class TomcatEJBWebServiceContext.RequestAdapter
extends Object
implements WebServiceContainer.Request


Field Summary
 
Fields inherited from interface org.apache.geronimo.webservices.WebServiceContainer.Request
CONNECT, DELETE, GET, HEAD, HEADER_ACCEPT, HEADER_ACCEPT_ENCODING, HEADER_ACCEPT_LANGUAGE, HEADER_CACHE_CONTROL, HEADER_CONNECTION, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_SET_COOKIE, HEADER_USER_AGENT, OPTIONS, POST, PUT, TRACE, UNSUPPORTED
 
Constructor Summary
TomcatEJBWebServiceContext.RequestAdapter(org.apache.catalina.connector.Request request)
           
 
Method Summary
 Object getAttribute(String name)
           
 int getContentLength()
           
 String getContentType()
           
 String getContextPath()
           
 String getHeader(String name)
           
 InputStream getInputStream()
           
 int getMethod()
           
 String getParameter(String name)
           
 Map getParameters()
           
 String getRemoteAddr()
           
 URI getURI()
           
 void setAttribute(String name, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TomcatEJBWebServiceContext.RequestAdapter

public TomcatEJBWebServiceContext.RequestAdapter(org.apache.catalina.connector.Request request)
Method Detail

getHeader

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

getURI

public URI getURI()
Specified by:
getURI in interface WebServiceContainer.Request

getContentLength

public int getContentLength()
Specified by:
getContentLength in interface WebServiceContainer.Request

getContentType

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

getInputStream

public InputStream getInputStream()
                           throws IOException
Specified by:
getInputStream in interface WebServiceContainer.Request
Throws:
IOException

getMethod

public int getMethod()
Specified by:
getMethod in interface WebServiceContainer.Request

getParameter

public String getParameter(String name)
Specified by:
getParameter in interface WebServiceContainer.Request

getParameters

public Map getParameters()
Specified by:
getParameters in interface WebServiceContainer.Request

getAttribute

public Object getAttribute(String name)
Specified by:
getAttribute in interface WebServiceContainer.Request

setAttribute

public void setAttribute(String name,
                         Object value)
Specified by:
setAttribute in interface WebServiceContainer.Request

getRemoteAddr

public String getRemoteAddr()
Specified by:
getRemoteAddr in interface WebServiceContainer.Request

getContextPath

public String getContextPath()
Specified by:
getContextPath in interface WebServiceContainer.Request


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