Package io.jans.as.model.util
Class QueryBuilder
- java.lang.Object
-
- io.jans.as.model.util.QueryBuilder
-
public class QueryBuilder extends java.lang.Object
- Author:
- Yuriy Zabrovarnyy
-
-
Constructor Summary
Constructors Constructor Description QueryBuilder()
QueryBuilder(java.lang.StringBuilder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
append(java.lang.String key, java.lang.String value)
void
appendAmpersand()
void
appendIfNotNull(java.lang.String key, java.lang.Object value)
java.lang.String
build()
java.lang.StringBuilder
getBuilder()
static QueryBuilder
instance()
java.lang.String
toString()
-
-
-
Method Detail
-
instance
public static QueryBuilder instance()
-
build
public java.lang.String build()
-
getBuilder
public java.lang.StringBuilder getBuilder()
-
appendIfNotNull
public void appendIfNotNull(java.lang.String key, java.lang.Object value)
-
append
public void append(java.lang.String key, java.lang.String value)
-
appendAmpersand
public void appendAmpersand()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-