Apache CXF API

org.apache.cxf.transport.http_osgi
Class OsgiServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.cxf.transport.servlet.AbstractHTTPServlet
              extended by org.apache.cxf.transport.http_osgi.OsgiServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
SpringOsgiServlet

public class OsgiServlet
extends AbstractHTTPServlet

See Also:
Serialized Form

Constructor Summary
OsgiServlet(OsgiDestinationRegistryIntf transport)
           
 
Method Summary
protected  ExchangeImpl createExchange()
           
protected  MessageImpl createInMessage()
           
 void destroy()
           
 OsgiDestinationRegistryIntf getTransport()
           
 void init(javax.servlet.ServletConfig servletConfig)
           
 void invoke(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse res)
           
 
Methods inherited from class org.apache.cxf.transport.servlet.AbstractHTTPServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, handleRequest, redirect, serveStaticContent, service
 
Methods inherited from class javax.servlet.http.HttpServlet
doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OsgiServlet

public OsgiServlet(OsgiDestinationRegistryIntf transport)
Method Detail

init

public void init(javax.servlet.ServletConfig servletConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class AbstractHTTPServlet
Throws:
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet

getTransport

public OsgiDestinationRegistryIntf getTransport()

invoke

public void invoke(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse res)
            throws javax.servlet.ServletException
Specified by:
invoke in class AbstractHTTPServlet
Throws:
javax.servlet.ServletException

createInMessage

protected MessageImpl createInMessage()

createExchange

protected ExchangeImpl createExchange()

Apache CXF API

Apache CXF