java.lang.Object
org.apache.jena.sparql.exec.http.Params
A collection of parameters for HTTP protocol use.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionValueless parameterAdd a parameter.boolean
containsParam
(String name) int
count()
static Params
create()
Pattern:String URL = Params.create().add("name", "value")... .httpString(endpoint);
static Params
Pattern:String URL = Params.create(baseParams).add("name", "value")... .httpString(endpoint);
URL query string, without leading "?"void
names()
Get the names of parameters - one occurrencepairs()
Exactly as seenvoid
toString()
-
Method Details
-
create
Pattern:String URL = Params.create().add("name", "value")... .httpString(endpoint);
-
create
Pattern:String URL = Params.create(baseParams).add("name", "value")... .httpString(endpoint);
-
merge
-
add
Add a parameter.- Parameters:
name
- Name of the parametervalue
- Value - May be null to indicate none - the name still goes.- Returns:
- this Params for continued operation
-
add
Valueless parameter -
containsParam
-
getValue
-
getValues
-
remove
-
pairs
Exactly as seen -
count
public int count() -
names
Get the names of parameters - one occurrence -
httpString
URL query string, without leading "?" -
toString
-