public final class HttpFrameworkServlet
extends javax.servlet.http.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,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
DescribableHandler |
handler |
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. |
| Modifier and Type | Method and Description |
|---|---|
static ClientContext |
createClientContext(Context parent,
javax.servlet.http.HttpServletRequest req) |
Request |
createRequest(javax.servlet.http.HttpServletRequest req) |
UriRouterContext |
createRouterContext(Context parent,
javax.servlet.http.HttpServletRequest req,
Request request) |
void |
destroy() |
static HttpFrameworkServlet |
getGatewayHttpFrameworkServlet() |
static DescribableHandler |
getRootHandler() |
void |
init() |
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic static final String ROUTING_BASE_INIT_PARAM_NAME
HttpApplication.ServletRoutingBase,
Constant Field Valuespublic DescribableHandler handler
public HttpFrameworkServlet()
public HttpFrameworkServlet(HttpApplication application)
HttpFrameworkServlet programmatically using the
specified HttpApplication.application - The HttpApplication instance.public static HttpFrameworkServlet getGatewayHttpFrameworkServlet()
public static DescribableHandler getRootHandler()
public void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionpublic Request createRequest(javax.servlet.http.HttpServletRequest req) throws IOException, URISyntaxException
IOExceptionURISyntaxExceptionpublic static ClientContext createClientContext(Context parent, javax.servlet.http.HttpServletRequest req)
public UriRouterContext createRouterContext(Context parent, javax.servlet.http.HttpServletRequest req, Request request) throws URISyntaxException
URISyntaxExceptionpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletCopyright © 2025 Open Identity Platform Community. All rights reserved.