public final class HttpFrameworkServlet extends HttpServlet
An HTTP servlet implementation which provides integration between the Servlet API and the common HTTP Framework.
A HttpApplication
implementation must be registered in the
ServiceLoader
framework
HttpApplication
Modifier and Type | Field and Description |
---|---|
static String |
ROUTING_BASE_INIT_PARAM_NAME
Servlet init-param for configuring the routing base for the
HttpApplication . |
Constructor and Description |
---|
HttpFrameworkServlet()
Default constructor for use via web.xml declaration.
|
HttpFrameworkServlet(HttpApplication application)
Creates a new
HttpFrameworkServlet programmatically using the
specified HttpApplication . |
public static final String ROUTING_BASE_INIT_PARAM_NAME
HttpApplication
.ServletRoutingBase
,
Constant Field Valuespublic HttpFrameworkServlet()
public HttpFrameworkServlet(HttpApplication application)
HttpFrameworkServlet
programmatically using the
specified HttpApplication
.application
- The HttpApplication
instance.public void init() throws ServletException
ServletException
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
ServletException
IOException
public void destroy()
Copyright 2011-2015 ForgeRock AS.