Class TLcdCSWServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.luciad.ogc.csw.server.TLcdCSWServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class TLcdCSWServlet extends jakarta.servlet.http.HttpServlet
Servlet for starting an OGC Catalogue 2.0.2 / 3.0 server.

The servlet delegates CSW requests to a command dispatcher, which is created by an ALcdCSWCommandDispatcherFactory. The factory class name is specified by the mandatory init parameter csw.command.dispatcher.factory.class.

Since:
2017.0
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
    protected void
    doGet(jakarta.servlet.http.HttpServletRequest aRequest, jakarta.servlet.http.HttpServletResponse aResponse)
    Handles a GET request.
    protected void
    doPost(jakarta.servlet.http.HttpServletRequest aRequest, jakarta.servlet.http.HttpServletResponse aResponse)
    Handles a POST request.
    void
    init(jakarta.servlet.ServletConfig aServletConfig)
    Initializes the servlet.

    Methods inherited from class jakarta.servlet.http.HttpServlet

    doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service

    Methods inherited from class jakarta.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

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

    • TLcdCSWServlet

      public TLcdCSWServlet()
  • Method Details

    • init

      public void init(jakarta.servlet.ServletConfig aServletConfig) throws jakarta.servlet.ServletException
      Initializes the servlet. The servlet configuration should point to the command dispatcher factory. The other contents of the config file depends on the command dispatcher factory. A command dispatcher is created.
      Specified by:
      init in interface jakarta.servlet.Servlet
      Overrides:
      init in class jakarta.servlet.http.HttpServlet
      Throws:
      jakarta.servlet.ServletException
    • doGet

      protected void doGet(jakarta.servlet.http.HttpServletRequest aRequest, jakarta.servlet.http.HttpServletResponse aResponse) throws jakarta.servlet.ServletException, IOException
      Handles a GET request. It passes the request on to the command dispatcher created in the init method.
      Overrides:
      doGet in class jakarta.servlet.http.HttpServlet
      Throws:
      jakarta.servlet.ServletException
      IOException
    • doPost

      protected void doPost(jakarta.servlet.http.HttpServletRequest aRequest, jakarta.servlet.http.HttpServletResponse aResponse) throws jakarta.servlet.ServletException, IOException
      Handles a POST request. It passes the request on to the command dispatcher created in the init method.
      Overrides:
      doPost in class jakarta.servlet.http.HttpServlet
      Throws:
      jakarta.servlet.ServletException
      IOException