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 StringServlet init-param for configuring the routing base for theHttpApplication.Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for use via web.xml declaration.HttpFrameworkServlet(HttpApplication application) Creates a newHttpFrameworkServletprogrammatically using the specifiedHttpApplication. -
Method Summary
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, init, isSensitiveHeader, serviceMethods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, 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 newHttpFrameworkServletprogrammatically using the specifiedHttpApplication.- Parameters:
application- TheHttpApplicationinstance.
-
-
Method Details
-
init
- Overrides:
initin 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:
servicein classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionIOException
-
destroy
- Specified by:
destroyin interfacejakarta.servlet.Servlet- Overrides:
destroyin classjakarta.servlet.GenericServlet
-