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 final class WhiteboardServletHandler extends ServletHandler
Servlet handler for servlets registered through the http whiteboard.
-
-
Field Summary
-
Fields inherited from class org.apache.felix.http.base.internal.handler.ServletHandler
useCount
-
-
Constructor Summary
Constructors Constructor Description WhiteboardServletHandler(long contextServiceId, ExtServletContext context, ServletInfo servletInfo, org.osgi.framework.BundleContext contextBundleContext, org.osgi.framework.Bundle registeringBundle, org.osgi.framework.Bundle httpWhiteboardBundle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
destroy()
org.osgi.framework.Bundle
getMultipartSecurityContext()
int
init()
Initialize the object-
Methods inherited from class org.apache.felix.http.base.internal.handler.ServletHandler
compareTo, dispose, equals, getContext, getContextServiceId, getMultipartConfig, getName, getServlet, getServletInfo, handle, hashCode, setServlet
-
-
-
-
Constructor Detail
-
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 Detail
-
init
public int init()
Description copied from class:ServletHandler
Initialize the object- Overrides:
init
in classServletHandler
- Returns:
- {code -1} on success, a failure reason according to
DTOConstants
otherwise.
-
destroy
public boolean destroy()
- Overrides:
destroy
in classServletHandler
-
getMultipartSecurityContext
public org.osgi.framework.Bundle getMultipartSecurityContext()
- Overrides:
getMultipartSecurityContext
in classServletHandler
-
-