Class WhiteboardServletHandler

java.lang.Object
org.apache.felix.http.base.internal.handler.ServletHandler
org.apache.felix.http.base.internal.handler.WhiteboardServletHandler
All Implemented Interfaces:
Comparable<ServletHandler>

public class WhiteboardServletHandler extends ServletHandler
Servlet handler for servlets registered through the http whiteboard.
  • Constructor Details

    • WhiteboardServletHandler

      public WhiteboardServletHandler(long contextServiceId, ExtServletContext context, ServletInfo servletInfo, org.osgi.framework.BundleContext contextBundleContext, org.osgi.framework.Bundle registeringBundle, org.osgi.framework.Bundle httpWhiteboardBundle)
  • Method Details

    • init

      public int init()
      Description copied from class: ServletHandler
      Initialize the object
      Overrides:
      init in class ServletHandler
      Returns:
      {code -1} on success, a failure reason according to DTOConstants otherwise.
    • destroy

      public boolean destroy()
      Overrides:
      destroy in class ServletHandler
    • getMultipartSecurityContext

      public org.osgi.framework.Bundle getMultipartSecurityContext()
      Overrides:
      getMultipartSecurityContext in class ServletHandler
    • handle

      public void handle(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res) throws jakarta.servlet.ServletException, IOException
      Overrides:
      handle in class ServletHandler
      Throws:
      jakarta.servlet.ServletException
      IOException