Package com.saperion.servlet
Class HTMLGatewayServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.saperion.servlet.HTMLGatewayServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
public class HTMLGatewayServlet
extends jakarta.servlet.http.HttpServlet
HTMLGateway servlet to stream content from the webservices. Note: this servlet is only created
for the IE7, since the REST-HTMLGateway is not working with it.
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, init, service, service
Methods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
-
Constructor Details
-
HTMLGatewayServlet
public HTMLGatewayServlet()
-
-
Method Details
-
init
public final void init() throws jakarta.servlet.ServletExceptionInit method for servlet.- Overrides:
init
in classjakarta.servlet.GenericServlet
- Throws:
jakarta.servlet.ServletException
- ServletException
-
doGet
public final void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException Servlet get-method. Retrieves content from the backend. URL-parameters:- docId: id of the document to retrieve
- docElement: element of the document to retrieve
- Overrides:
doGet
in classjakarta.servlet.http.HttpServlet
- Parameters:
request
- Requestresponse
- Response- Throws:
jakarta.servlet.ServletException
- servlet exceptionIOException
- IOException
-
destroy
public final void destroy()Destroy method for servlet.- Specified by:
destroy
in interfacejakarta.servlet.Servlet
- Overrides:
destroy
in classjakarta.servlet.GenericServlet
-