Class Nice2JerseyServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.glassfish.jersey.servlet.ServletContainer
ch.tocco.nice2.rest.core.impl.Nice2JerseyServlet
All Implemented Interfaces:
Serializable, javax.servlet.Filter, javax.servlet.Servlet, javax.servlet.ServletConfig, org.glassfish.jersey.server.spi.Container

@Component public class Nice2JerseyServlet extends org.glassfish.jersey.servlet.ServletContainer
Jersey Servlet instance for Nice2. REST resources are contributed via Nice2ResourceConfig.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final org.apache.commons.text.RandomStringGenerator
     

    Fields inherited from interface org.glassfish.jersey.server.spi.Container

    DEFAULT_HTTP_PORT, DEFAULT_HTTPS_PORT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
     

    Methods inherited from class org.glassfish.jersey.servlet.ServletContainer

    destroy, doFilter, doFilter, getApplicationHandler, getConfiguration, getServletContext, getStaticContentPattern, getWebComponent, init, init, init, reload, reload, service, service

    Methods inherited from class javax.servlet.http.HttpServlet

    doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified

    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
  • Field Details

    • ERROR_ID_KEY

      public static final String ERROR_ID_KEY
      See Also:
    • randomStringGenerator

      public static final org.apache.commons.text.RandomStringGenerator randomStringGenerator
  • Constructor Details

    • Nice2JerseyServlet

      public Nice2JerseyServlet()
  • Method Details

    • service

      public void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
      Overrides:
      service in class org.glassfish.jersey.servlet.ServletContainer
      Throws:
      javax.servlet.ServletException
      IOException