org.hudsonci.rest.plugin.jersey
Class RestServletImpl

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.sun.jersey.spi.container.servlet.ServletContainer
              extended by org.hudsonci.rest.server.internal.jersey.RestServlet
                  extended by org.hudsonci.rest.plugin.jersey.RestServletImpl
All Implemented Interfaces:
com.sun.jersey.spi.container.ContainerNotifier, Serializable, javax.servlet.Filter, javax.servlet.Servlet, javax.servlet.ServletConfig

@Named(value="jersey")
@Singleton
public class RestServletImpl
extends RestServlet

Provides Hudson-specific integration for using RestServlet.

Since:
2.1.0
Author:
Jason Dillon
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.jersey.spi.container.servlet.ServletContainer
com.sun.jersey.spi.container.servlet.ServletContainer.ContextInjectableProvider<T>
 
Field Summary
 
Fields inherited from class com.sun.jersey.spi.container.servlet.ServletContainer
APPLICATION_CONFIG_CLASS, 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 Summary
RestServletImpl(com.sun.jersey.core.spi.component.ioc.IoCComponentProviderFactory componentProviderFactory)
           
 
Method Summary
 void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.hudsonci.rest.server.internal.jersey.RestServlet
addApplication, addListener, getDefaultResourceConfig, init, initiate
 
Methods inherited from class com.sun.jersey.spi.container.servlet.ServletContainer
configure, configure, configure, create, destroy, doFilter, doFilter, getDefaultResourceConfig, getServletContext, getStaticContentPattern, getWebConfig, init, init, load, reload, service
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestServletImpl

@Inject
public RestServletImpl(@Named(value="smoothie")
                              com.sun.jersey.core.spi.component.ioc.IoCComponentProviderFactory componentProviderFactory)
Method Detail

service

public void service(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws javax.servlet.ServletException,
                    IOException
Overrides:
service in class RestServlet
Throws:
javax.servlet.ServletException
IOException


Copyright © 2004-2011 Hudson. All Rights Reserved.