org.apache.cxf.jaxrs.servlet
Class CXFNonSpringJaxrsServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.cxf.transport.servlet.AbstractHTTPServlet
org.apache.cxf.transport.servlet.CXFNonSpringServlet
org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Filter, javax.servlet.Servlet, javax.servlet.ServletConfig
public class CXFNonSpringJaxrsServlet
- extends CXFNonSpringServlet
- See Also:
- Serialized Form
Method Summary |
protected void |
configureSingleton(Object instance)
|
protected void |
createServerFromApplication(String cName,
javax.servlet.ServletConfig servletConfig,
String splitChar)
|
protected Object |
createSingletonInstance(Class<?> cls,
Map<String,String> props,
javax.servlet.ServletConfig sc)
|
protected String |
getParameterSplitChar(javax.servlet.ServletConfig servletConfig)
|
protected List<?> |
getProviders(javax.servlet.ServletConfig servletConfig,
String splitChar)
|
protected Map<Class<?>,ResourceProvider> |
getResourceProviders(javax.servlet.ServletConfig servletConfig,
Map<Class<?>,Map<String,String>> resourceClasses)
|
protected Map<Class<?>,Map<String,String>> |
getServiceClasses(javax.servlet.ServletConfig servletConfig,
boolean modelAvailable,
String splitChar)
|
protected boolean |
getStaticSubResolutionValue(javax.servlet.ServletConfig servletConfig)
|
void |
init(javax.servlet.ServletConfig servletConfig)
|
protected void |
setAllInterceptors(JAXRSServerFactoryBean bean,
javax.servlet.ServletConfig servletConfig,
String splitChar)
|
protected void |
setDocLocation(JAXRSServerFactoryBean bean,
javax.servlet.ServletConfig servletConfig)
|
protected void |
setExtensions(JAXRSServerFactoryBean bean,
javax.servlet.ServletConfig servletConfig)
|
protected void |
setInterceptors(JAXRSServerFactoryBean bean,
javax.servlet.ServletConfig servletConfig,
String paramName,
String splitChar)
|
protected void |
setInvoker(JAXRSServerFactoryBean bean,
javax.servlet.ServletConfig servletConfig)
|
protected void |
setSchemasLocations(JAXRSServerFactoryBean bean,
javax.servlet.ServletConfig servletConfig)
|
Methods inherited from class org.apache.cxf.transport.servlet.AbstractHTTPServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, 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 |
CXFNonSpringJaxrsServlet
public CXFNonSpringJaxrsServlet()
init
public void init(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Servlet
- Overrides:
init
in class CXFNonSpringServlet
- Throws:
javax.servlet.ServletException
getParameterSplitChar
protected String getParameterSplitChar(javax.servlet.ServletConfig servletConfig)
getStaticSubResolutionValue
protected boolean getStaticSubResolutionValue(javax.servlet.ServletConfig servletConfig)
setExtensions
protected void setExtensions(JAXRSServerFactoryBean bean,
javax.servlet.ServletConfig servletConfig)
setAllInterceptors
protected void setAllInterceptors(JAXRSServerFactoryBean bean,
javax.servlet.ServletConfig servletConfig,
String splitChar)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
setSchemasLocations
protected void setSchemasLocations(JAXRSServerFactoryBean bean,
javax.servlet.ServletConfig servletConfig)
setDocLocation
protected void setDocLocation(JAXRSServerFactoryBean bean,
javax.servlet.ServletConfig servletConfig)
setInterceptors
protected void setInterceptors(JAXRSServerFactoryBean bean,
javax.servlet.ServletConfig servletConfig,
String paramName,
String splitChar)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
setInvoker
protected void setInvoker(JAXRSServerFactoryBean bean,
javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
getServiceClasses
protected Map<Class<?>,Map<String,String>> getServiceClasses(javax.servlet.ServletConfig servletConfig,
boolean modelAvailable,
String splitChar)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
getProviders
protected List<?> getProviders(javax.servlet.ServletConfig servletConfig,
String splitChar)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
getResourceProviders
protected Map<Class<?>,ResourceProvider> getResourceProviders(javax.servlet.ServletConfig servletConfig,
Map<Class<?>,Map<String,String>> resourceClasses)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
createSingletonInstance
protected Object createSingletonInstance(Class<?> cls,
Map<String,String> props,
javax.servlet.ServletConfig sc)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
configureSingleton
protected void configureSingleton(Object instance)
createServerFromApplication
protected void createServerFromApplication(String cName,
javax.servlet.ServletConfig servletConfig,
String splitChar)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
Apache CXF