java.lang.Object
org.apache.jena.fuseki.servlets.GSPLib

public class GSPLib extends Object
  • Constructor Details

    • GSPLib

      public GSPLib()
  • Method Details

    • hasGSPParams

      public static boolean hasGSPParams(HttpAction action)
      Test whether the operation has either of the GSP parameters.
    • hasGSPParamsStrict

      public static boolean hasGSPParamsStrict(HttpAction action)
      Test whether the operation has exactly one GSP parameter and no other parameters.
    • hasExactlyOneValue

      public static boolean hasExactlyOneValue(HttpAction action, String name)
      Check whether there is exactly one HTTP header value
    • getOneOnly

      public static String getOneOnly(jakarta.servlet.http.HttpServletRequest request, String name)
      Get one value where there may be several HTTP header values. Multiple values causes an exception. No value returns null.