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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
    Destroy method for servlet.
    final void
    doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
    Servlet get-method.
    final void
    Init method for servlet.

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HTMLGatewayServlet

      public HTMLGatewayServlet()
  • Method Details

    • init

      public final void init() throws jakarta.servlet.ServletException
      Init method for servlet.
      Overrides:
      init in class jakarta.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 class jakarta.servlet.http.HttpServlet
      Parameters:
      request - Request
      response - Response
      Throws:
      jakarta.servlet.ServletException - servlet exception
      IOException - IOException
    • destroy

      public final void destroy()
      Destroy method for servlet.
      Specified by:
      destroy in interface jakarta.servlet.Servlet
      Overrides:
      destroy in class jakarta.servlet.GenericServlet