Package de.pisa.psa.rst.uti
Klasse ParameterStringBuilder
java.lang.Object
de.pisa.psa.rst.uti.ParameterStringBuilder
A string builder for request parameters
- Seit:
- 22.06.2023
- Autor:
- weiland
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungadd a parameteradd a parameter in the format "name=value"add a new line charactertoString()
-
Konstruktordetails
-
ParameterStringBuilder
public ParameterStringBuilder()Constructor -
ParameterStringBuilder
Constructor- Parameter:
method
- HTTP methodpath
- HTTP path
-
-
Methodendetails
-
add
add a parameter in the format "name=value"- Parameter:
name
- name of the parametervalue
- value of the parameter- Gibt zurück:
- this
-
add
add a parameter- Parameter:
string
- string to add- Gibt zurück:
- this
-
addNewLine
add a new line character- Gibt zurück:
- this
-
toString
-