public class CXFNonSpringJaxrsServlet extends CXFNonSpringServlet
bus
Constructor and Description |
---|
CXFNonSpringJaxrsServlet() |
CXFNonSpringJaxrsServlet(javax.ws.rs.core.Application app) |
CXFNonSpringJaxrsServlet(Object singletonService) |
CXFNonSpringJaxrsServlet(Set<Object> applicationSingletons) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureSingleton(Object instance) |
protected ApplicationInfo |
createApplicationInfo(String appClassName,
javax.servlet.ServletConfig servletConfig) |
protected javax.ws.rs.core.Application |
createApplicationInstance(String appClassName,
javax.servlet.ServletConfig servletConfig) |
protected void |
createServerFromApplication(javax.servlet.ServletConfig servletConfig) |
protected void |
createServerFromApplication(String applicationNames,
javax.servlet.ServletConfig servletConfig) |
protected Object |
createSingletonInstance(Class<?> cls,
Map<String,List<String>> props,
javax.servlet.ServletConfig sc) |
protected javax.ws.rs.core.Application |
getApplication() |
protected List<? extends Feature> |
getFeatures(javax.servlet.ServletConfig servletConfig,
String splitChar) |
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,List<String>>> resourceClasses) |
protected Map<Class<?>,Map<String,List<String>>> |
getServiceClasses(javax.servlet.ServletConfig servletConfig,
boolean modelAvailable,
String splitChar) |
protected boolean |
getStaticSubResolutionValue(javax.servlet.ServletConfig servletConfig) |
void |
init(javax.servlet.ServletConfig servletConfig) |
protected boolean |
isIgnoreApplicationPath(javax.servlet.ServletConfig servletConfig) |
protected Class<?> |
loadApplicationClass(String appClassName) |
protected Class<?> |
loadClass(String cName) |
protected Class<?> |
loadClass(String cName,
String classType) |
protected static Map<String,List<String>> |
parseMapListSequence(String sequence) |
protected void |
setAllInterceptors(JAXRSServerFactoryBean bean,
javax.servlet.ServletConfig servletConfig,
String splitChar) |
void |
setClassLoader(ClassLoader loader) |
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) |
destroy, destroyBus, doFilter, getBus, getDestinationRegistryFromBus, initClassLoader, invoke, loadBus, setBus
checkXForwardedHeaders, doDelete, doGet, doHead, doOptions, doPost, doPut, finalizeServletInit, getResourceAsStream, getStaticResourceContentType, handleRequest, init, parseListSequence, parseMapSequence, redirect, serveStaticContent, service
public CXFNonSpringJaxrsServlet()
public CXFNonSpringJaxrsServlet(javax.ws.rs.core.Application app)
public CXFNonSpringJaxrsServlet(Object singletonService)
public void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class CXFNonSpringServlet
javax.servlet.ServletException
protected String getParameterSplitChar(javax.servlet.ServletConfig servletConfig)
protected boolean getStaticSubResolutionValue(javax.servlet.ServletConfig servletConfig)
protected void setExtensions(JAXRSServerFactoryBean bean, javax.servlet.ServletConfig servletConfig)
protected void setAllInterceptors(JAXRSServerFactoryBean bean, javax.servlet.ServletConfig servletConfig, String splitChar) throws javax.servlet.ServletException
javax.servlet.ServletException
protected void setSchemasLocations(JAXRSServerFactoryBean bean, javax.servlet.ServletConfig servletConfig)
protected void setDocLocation(JAXRSServerFactoryBean bean, javax.servlet.ServletConfig servletConfig)
protected void setInterceptors(JAXRSServerFactoryBean bean, javax.servlet.ServletConfig servletConfig, String paramName, String splitChar) throws javax.servlet.ServletException
javax.servlet.ServletException
protected void setInvoker(JAXRSServerFactoryBean bean, javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
javax.servlet.ServletException
protected Map<Class<?>,Map<String,List<String>>> getServiceClasses(javax.servlet.ServletConfig servletConfig, boolean modelAvailable, String splitChar) throws javax.servlet.ServletException
javax.servlet.ServletException
protected List<? extends Feature> getFeatures(javax.servlet.ServletConfig servletConfig, String splitChar) throws javax.servlet.ServletException
javax.servlet.ServletException
protected List<?> getProviders(javax.servlet.ServletConfig servletConfig, String splitChar) throws javax.servlet.ServletException
javax.servlet.ServletException
protected static Map<String,List<String>> parseMapListSequence(String sequence)
protected Map<Class<?>,ResourceProvider> getResourceProviders(javax.servlet.ServletConfig servletConfig, Map<Class<?>,Map<String,List<String>>> resourceClasses) throws javax.servlet.ServletException
javax.servlet.ServletException
protected Object createSingletonInstance(Class<?> cls, Map<String,List<String>> props, javax.servlet.ServletConfig sc) throws javax.servlet.ServletException
javax.servlet.ServletException
protected void configureSingleton(Object instance)
protected void createServerFromApplication(String applicationNames, javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
javax.servlet.ServletException
protected boolean isIgnoreApplicationPath(javax.servlet.ServletConfig servletConfig)
protected void createServerFromApplication(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
javax.servlet.ServletException
protected javax.ws.rs.core.Application createApplicationInstance(String appClassName, javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
javax.servlet.ServletException
protected ApplicationInfo createApplicationInfo(String appClassName, javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
javax.servlet.ServletException
protected Class<?> loadApplicationClass(String appClassName) throws javax.servlet.ServletException
javax.servlet.ServletException
protected Class<?> loadClass(String cName) throws javax.servlet.ServletException
javax.servlet.ServletException
protected Class<?> loadClass(String cName, String classType) throws javax.servlet.ServletException
javax.servlet.ServletException
public void setClassLoader(ClassLoader loader)
protected javax.ws.rs.core.Application getApplication()
Apache CXF