java.lang.Object
org.apache.jena.fuseki.mod.system.FMod_Ping
All Implemented Interfaces:
FusekiActionCycle, FusekiBuildCycle, FusekiModule, FusekiServerArgsHandler, FusekiStartStop

public class FMod_Ping extends Object implements FusekiModule
Enable the /$/ping endpoint via the command line. (May be disabled from a Fuseki server builder.)
  • Constructor Details

    • FMod_Ping

      public FMod_Ping()
  • Method Details

    • create

      public static FusekiModule create()
    • serverArgsModify

      public void serverArgsModify(org.apache.jena.cmd.CmdGeneral fusekiCmd, ServerArgs serverArgs)
      Description copied from interface: FusekiModule
      Called after the standard Fuseki main arguments have been added and before argument processing of the command line. This allows a Fuseki module to add custom arguments via CmdLineArgs.addArg(String, String) and CmdGeneral.addModule(org.apache.jena.cmd.ArgModuleGeneral).

      This method can throw CmdException to indicate errors. This will cause a error message to be printed, without the stack trace. The server construction is aborted.

      Specified by:
      serverArgsModify in interface FusekiModule
      Specified by:
      serverArgsModify in interface FusekiServerArgsHandler
      Parameters:
      fusekiCmd - Fuseki Main command line arguments
      serverArgs - Initial setting before command line processing.
    • serverArgsPrepare

      public void serverArgsPrepare(org.apache.jena.cmd.CmdGeneral fusekiCmd, ServerArgs serverArgs)
      Description copied from interface: FusekiModule
      Called at the end command line argument processing.

      This allows a Fuseki module to pull out custom arguments it has added and process them appropriately, including validating or modifying the ServerArgs that will be used to build the server. This method can set the set the dataset, in which case a command line dataset setup or configuration file server set up is not performed.

      This method can throw CmdException to indicate errors. This will cause a error message to be printed, without the stack trace. The server construction is aborted.

      Specified by:
      serverArgsPrepare in interface FusekiModule
      Specified by:
      serverArgsPrepare in interface FusekiServerArgsHandler
      Parameters:
      fusekiCmd - Fuseki Main
      serverArgs - Standard server argument settings, before building the server.