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_LOCATION
APPLICATION_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, getDefaultContext
configure, configure, configure, create, destroy, doFilter, doFilter, getDefaultResourceConfig, getServletContext, getStaticContentPattern, getWebConfig, init, init, init, load, reload, service
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified
public static final ThreadLocal requestThread
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
protected org.springframework.context.ConfigurableApplicationContext getContext()
getContext
in class com.sun.jersey.spi.spring.container.servlet.SpringServlet
public 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.ServletContainer
javax.servlet.ServletException
IOException
public void service(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) throws javax.servlet.ServletException, IOException
service
in interface javax.servlet.Servlet
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected 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.SpringServlet
protected 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.SpringServlet
javax.servlet.ServletException
Copyright © 2021 Hitachi Vantara. All rights reserved.