java.lang.Object
org.apache.jena.fuseki.servlets.GSPLib
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getOneOnly
(javax.servlet.http.HttpServletRequest request, String name) Get one value where there may be several HTTP header values.static boolean
hasExactlyOneValue
(HttpAction action, String name) Check whether there is exactly one HTTP header valuestatic boolean
hasGSPParams
(HttpAction action) Test whether the operation has either of the GSP parameters.static boolean
hasGSPParamsStrict
(HttpAction action) Test whether the operation has exactly one GSP parameter and no other parameters.
-
Constructor Details
-
GSPLib
public GSPLib()
-
-
Method Details
-
hasGSPParams
Test whether the operation has either of the GSP parameters. -
hasGSPParamsStrict
Test whether the operation has exactly one GSP parameter and no other parameters. -
hasExactlyOneValue
Check whether there is exactly one HTTP header value -
getOneOnly
Get one value where there may be several HTTP header values. Multiple values causes an exception. No value returns null.
-