public class LuteceJerseySpringServlet
extends com.sun.jersey.spi.container.servlet.ServletContainer
SpringContextService.getContext() as context.ServletContainer,
Serialized Form| Constructor 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, servicedoDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, serviceprotected 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.ServletContainerjavax.servlet.ServletExceptionprotected 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.ServletContainerrc - ResourceConfigwa - WebApplicationcom.sun.jersey.api.container.filter.UriConnegFilterpublic 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.ServletContainerrequest - the HTTP requestresponse - the responsechain - the filter chainIOException - exception if I/O errorjavax.servlet.ServletException - exception if servlet errorCopyright © 2015 City of Paris. All rights reserved.