Package org.forgerock.http.servlet
Class HttpFrameworkServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.forgerock.http.servlet.HttpFrameworkServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
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
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Servlet init-param for configuring the routing base for theHttpApplication
. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for use via web.xml declaration.HttpFrameworkServlet
(HttpApplication application) Creates a newHttpFrameworkServlet
programmatically using the specifiedHttpApplication
. -
Method Summary
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
Methods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
ROUTING_BASE_INIT_PARAM_NAME
Servlet init-param for configuring the routing base for theHttpApplication
.- See Also:
-
ServletRoutingBase
- Constant Field Values
-
-
Constructor Details
-
HttpFrameworkServlet
public HttpFrameworkServlet()Default constructor for use via web.xml declaration. -
HttpFrameworkServlet
Creates a newHttpFrameworkServlet
programmatically using the specifiedHttpApplication
.- Parameters:
application
- TheHttpApplication
instance.
-
-
Method Details
-
init
- Overrides:
init
in classjakarta.servlet.GenericServlet
- Throws:
jakarta.servlet.ServletException
-
service
protected void service(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws jakarta.servlet.ServletException, IOException - Overrides:
service
in classjakarta.servlet.http.HttpServlet
- Throws:
jakarta.servlet.ServletException
IOException
-
destroy
- Specified by:
destroy
in interfacejakarta.servlet.Servlet
- Overrides:
destroy
in classjakarta.servlet.GenericServlet
-