Class HttpServiceWebSocketServletHandler
java.lang.Object
org.apache.felix.http.base.internal.handler.ServletHandler
org.apache.felix.http.base.internal.handler.HttpServiceServletHandler
org.apache.felix.http.base.internal.handler.HttpServiceWebSocketServletHandler
- All Implemented Interfaces:
Comparable<ServletHandler>
Servlet handler for servlets extending JettyWebSocketServlet registered through the http service.
-
Field Summary
Fields inherited from class org.apache.felix.http.base.internal.handler.ServletHandler
useCount -
Constructor Summary
ConstructorsConstructorDescriptionHttpServiceWebSocketServletHandler(ExtServletContext context, ServletInfo servletInfo, javax.servlet.Servlet servlet) -
Method Summary
Methods inherited from class org.apache.felix.http.base.internal.handler.ServletHandler
compareTo, dispose, equals, getContext, getContextServiceId, getMultipartConfig, getMultipartSecurityContext, getName, getServlet, getServletInfo, hashCode, setServlet
-
Constructor Details
-
HttpServiceWebSocketServletHandler
public HttpServiceWebSocketServletHandler(ExtServletContext context, ServletInfo servletInfo, javax.servlet.Servlet servlet)
-
-
Method Details
-
init
public int init()Description copied from class:ServletHandlerInitialize the object- Overrides:
initin classServletHandler- Returns:
- {code -1} on success, a failure reason according to
DTOConstantsotherwise.
-
handle
public void handle(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res) throws jakarta.servlet.ServletException, IOException - Overrides:
handlein classServletHandler- Throws:
jakarta.servlet.ServletExceptionIOException
-
destroy
public boolean destroy()- Overrides:
destroyin classServletHandler
-