Interface JMapServerExtension


public interface JMapServerExtension
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called by JMapServer when a shutdown operation is occurring.
    default Serializable
    getProjectParameters(int projectId, Locale locale)
     
    void
    This method is called by JMapServer just after the request handler object is constructed.
    This method is called by JMapServer when a request for this extension is received .
  • Method Details

    • processRequest

      This method is called by JMapServer when a request for this extension is received . The request and the JMapServer running instance are specified as parameters. This method should accomplish any necessary work and return a new JMapExtensionResponse object resulting from the execution of the request.
      Parameters:
      request - the request
      Returns:
      the response resulting from the execution of the specified request
    • init

      void init()
      This method is called by JMapServer just after the request handler object is constructed.
    • destroy

      void destroy()
      This method is called by JMapServer when a shutdown operation is occurring. It can be used to close resources used by the request handler object.
    • getProjectParameters

      default Serializable getProjectParameters(int projectId, Locale locale)