public class JAXRSPluginServlet
extends com.sun.jersey.spi.spring.container.servlet.SpringServlet
implements org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal |
requestThread |
CONTEXT_CONFIG_LOCATIONAPPLICATION_CONFIG_CLASS, FEATURE_ALLOW_RAW_MANAGED_BEANS, FEATURE_FILTER_FORWARD_ON_404, GLASSFISH_DEFAULT_ERROR_PAGE_RESPONSE, JSP_TEMPLATES_BASE_PATH, PROPERTY_FILTER_CONTEXT_PATH, PROPERTY_WEB_PAGE_CONTENT_REGEX, RESOURCE_CONFIG_CLASS| Constructor and Description |
|---|
JAXRSPluginServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.context.ConfigurableApplicationContext |
getContext() |
protected com.sun.jersey.api.core.ResourceConfig |
getDefaultResourceConfig(Map<String,Object> props,
com.sun.jersey.spi.container.servlet.WebConfig webConfig) |
protected void |
initiate(com.sun.jersey.api.core.ResourceConfig rc,
com.sun.jersey.spi.container.WebApplication wa) |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
service(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
getChildContext, getDefaultContextconfigure, configure, configure, create, destroy, doFilter, doFilter, getDefaultResourceConfig, getServletContext, getStaticContentPattern, getWebConfig, init, init, init, load, reload, servicedoDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModifiedpublic static final ThreadLocal requestThread
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionprotected org.springframework.context.ConfigurableApplicationContext getContext()
getContext in class com.sun.jersey.spi.spring.container.servlet.SpringServletpublic void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
service in class com.sun.jersey.spi.container.servlet.ServletContainerjavax.servlet.ServletExceptionIOExceptionpublic void service(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res)
throws javax.servlet.ServletException,
IOException
service in interface javax.servlet.Servletservice in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void initiate(com.sun.jersey.api.core.ResourceConfig rc,
com.sun.jersey.spi.container.WebApplication wa)
initiate in class com.sun.jersey.spi.spring.container.servlet.SpringServletprotected com.sun.jersey.api.core.ResourceConfig getDefaultResourceConfig(Map<String,Object> props, com.sun.jersey.spi.container.servlet.WebConfig webConfig) throws javax.servlet.ServletException
getDefaultResourceConfig in class com.sun.jersey.spi.spring.container.servlet.SpringServletjavax.servlet.ServletExceptionCopyright © 2020 Hitachi Vantara. All rights reserved.