public class LuteceJerseySpringServlet
extends com.sun.jersey.spi.container.servlet.ServletContainer
SpringContextService.getContext()
as context.ServletContainer
,
Serialized FormConstructor and Description |
---|
LuteceJerseySpringServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doFilter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain)
Checks if the request is authenticated.
|
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)
Initialize the services.
|
configure, configure, configure, create, destroy, doFilter, getDefaultResourceConfig, getServletContext, getStaticContentPattern, getWebConfig, init, init, init, load, reload, service, service
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
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.container.servlet.ServletContainer
javax.servlet.ServletException
protected void initiate(com.sun.jersey.api.core.ResourceConfig rc, com.sun.jersey.spi.container.WebApplication wa)
initiate
in class com.sun.jersey.spi.container.servlet.ServletContainer
rc
- ResourceConfigwa
- WebApplicationcom.sun.jersey.api.container.filter.UriConnegFilter
public void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
HttpServletResponse.SC_UNAUTHORIZED
if not, calls
ServletContainer.doFilter(HttpServletRequest, HttpServletResponse, FilterChain)
otherwise.doFilter
in class com.sun.jersey.spi.container.servlet.ServletContainer
request
- the HTTP requestresponse
- the responsechain
- the filter chainIOException
- exception if I/O errorjavax.servlet.ServletException
- exception if servlet errorCopyright © 2021 City of Paris. All rights reserved.