Apache CXF API

org.apache.cxf.transport.servlet
Class CXFNonSpringServlet

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.servlet.CXFNonSpringServlet
All Implemented Interfaces:
Serializable, javax.servlet.Filter, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
CXFBlueprintServlet, CXFCdiServlet, CXFNonSpringJaxrsServlet, CXFServlet

public class CXFNonSpringServlet
extends AbstractHTTPServlet

See Also:
Serialized Form

Field Summary
protected  Bus bus
           
 
Constructor Summary
CXFNonSpringServlet()
           
CXFNonSpringServlet(DestinationRegistry destinationRegistry)
           
CXFNonSpringServlet(DestinationRegistry destinationRegistry, boolean loadBus)
           
 
Method Summary
 void destroy()
           
 void destroyBus()
           
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
           
 Bus getBus()
           
protected  DestinationRegistry getDestinationRegistryFromBus()
           
 void init(javax.servlet.ServletConfig sc)
           
protected  ClassLoader initClassLoader()
           
protected  void invoke(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void loadBus(javax.servlet.ServletConfig sc)
           
 void setBus(Bus bus)
           
 
Methods inherited from class org.apache.cxf.transport.servlet.AbstractHTTPServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, finalizeServletInit, getResourceAsStream, getStaticResourceContentType, handleRequest, init, parseListSequence, parseMapSequence, 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
 

Field Detail

bus

protected Bus bus
Constructor Detail

CXFNonSpringServlet

public CXFNonSpringServlet()

CXFNonSpringServlet

public CXFNonSpringServlet(DestinationRegistry destinationRegistry)

CXFNonSpringServlet

public CXFNonSpringServlet(DestinationRegistry destinationRegistry,
                           boolean loadBus)
Method Detail

init

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

initClassLoader

protected ClassLoader initClassLoader()

getDestinationRegistryFromBus

protected DestinationRegistry getDestinationRegistryFromBus()

loadBus

protected void loadBus(javax.servlet.ServletConfig sc)

getBus

public Bus getBus()
Specified by:
getBus in class AbstractHTTPServlet

setBus

public void setBus(Bus bus)

doFilter

public void doFilter(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response,
                     javax.servlet.FilterChain chain)
              throws IOException,
                     javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

invoke

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

destroy

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

destroyBus

public void destroyBus()

Apache CXF API

Apache CXF