public class JAXRSServlet
extends com.sun.jersey.spi.spring.container.servlet.SpringServlet
Modifier and Type | Field and Description |
---|---|
static String |
ACCEPT |
static String |
GET |
static String |
GET_HEADERS |
static String |
MIME_TYPE |
protected boolean |
SendEmptyEntityForServicesFlag |
static String |
SET_STATUS |
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 |
---|
JAXRSServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
callSuperInitiate(com.sun.jersey.api.core.ResourceConfig rc,
com.sun.jersey.spi.container.WebApplication wa) |
protected com.sun.jersey.spi.container.servlet.WebServletConfig |
createWebConfig(com.sun.jersey.spi.container.servlet.ServletContainer container) |
protected org.springframework.context.ApplicationContext |
getAppContext() |
protected org.springframework.context.ConfigurableApplicationContext |
getContext() |
void |
init() |
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) |
getChildContext, getDefaultContext, getDefaultResourceConfig
configure, configure, configure, create, destroy, doFilter, doFilter, getDefaultResourceConfig, getServletContext, getStaticContentPattern, getWebConfig, init, init, load, reload, service
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified
public static final String MIME_TYPE
public static final String GET_HEADERS
public static final String SET_STATUS
public static final String ACCEPT
public static final String GET
protected boolean SendEmptyEntityForServicesFlag
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 void callSuperInitiate(com.sun.jersey.api.core.ResourceConfig rc, com.sun.jersey.spi.container.WebApplication wa)
protected org.springframework.context.ApplicationContext getAppContext()
public void init() throws javax.servlet.ServletException
init
in class com.sun.jersey.spi.container.servlet.ServletContainer
javax.servlet.ServletException
protected com.sun.jersey.spi.container.servlet.WebServletConfig createWebConfig(com.sun.jersey.spi.container.servlet.ServletContainer container)
Copyright © 2021 Hitachi Vantara. All rights reserved.