public class CXFNonSpringServlet extends AbstractHTTPServlet
Modifier and Type | Field and Description |
---|---|
protected Bus |
bus |
static String |
TRANSPORT_ID |
Constructor and Description |
---|
CXFNonSpringServlet() |
CXFNonSpringServlet(DestinationRegistry destinationRegistry) |
CXFNonSpringServlet(DestinationRegistry destinationRegistry,
boolean loadBus) |
Modifier and Type | Method and Description |
---|---|
protected ServletController |
createServletController(javax.servlet.ServletConfig servletConfig) |
void |
destroy() |
void |
destroyBus() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
protected void |
finalizeServletInit(javax.servlet.ServletConfig servletConfig) |
Bus |
getBus() |
protected DestinationRegistry |
getDestinationRegistryFromBusOrDefault(String transportId) |
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) |
protected void |
registerServletContextResolver(javax.servlet.ServletConfig sc) |
void |
setBus(Bus bus) |
checkXForwardedHeaders, doDelete, doGet, doHead, doOptions, doPost, doPut, getResourceAsStream, getStaticResourceContentType, handleRequest, init, parseListSequence, parseMapSequence, redirect, serveStaticContent, service
public static final String TRANSPORT_ID
protected Bus bus
public CXFNonSpringServlet()
public CXFNonSpringServlet(DestinationRegistry destinationRegistry)
public CXFNonSpringServlet(DestinationRegistry destinationRegistry, boolean loadBus)
public void init(javax.servlet.ServletConfig sc) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class AbstractHTTPServlet
javax.servlet.ServletException
protected void finalizeServletInit(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
finalizeServletInit
in class AbstractHTTPServlet
javax.servlet.ServletException
protected void registerServletContextResolver(javax.servlet.ServletConfig sc)
protected ClassLoader initClassLoader()
protected DestinationRegistry getDestinationRegistryFromBusOrDefault(String transportId)
protected void loadBus(javax.servlet.ServletConfig sc)
protected ServletController createServletController(javax.servlet.ServletConfig servletConfig)
public Bus getBus()
getBus
in class AbstractHTTPServlet
public void setBus(Bus bus)
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
protected void invoke(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
invoke
in class AbstractHTTPServlet
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
destroy
in interface javax.servlet.Servlet
destroy
in class AbstractHTTPServlet
public void destroyBus()
Apache CXF