public class Util extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_QUIET_ON_NOT_FOUND |
static String |
QUIET_ON_NOT_FOUND_PARAM |
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
appendParameter(StringBuilder url,
String parameterName,
String parameterValue) |
static String |
appendQuietOnNotFound(boolean quietOnNotFound,
String url)
Append the quietOnNotFound parameter to the input URL
|
static char |
getParameterSeparator(String url) |
static char |
getParameterSeparator(StringBuilder url) |
static <T> Collection<T> |
safeCollection(Collection<T> collection) |
static <T> List<T> |
safeList(List<T> list) |
static <TK,TV> Map<TK,TV> |
safeMap(Map<TK,TV> map) |
static List<RESTStyle> |
searchStyles(GeoServerRESTReader reader,
String stylename)
Search for a stylename in global and in all workspaces.
|
public static final String QUIET_ON_NOT_FOUND_PARAM
public static final boolean DEFAULT_QUIET_ON_NOT_FOUND
public static List<RESTStyle> searchStyles(GeoServerRESTReader reader, String stylename)
public static String appendQuietOnNotFound(boolean quietOnNotFound, String url)
quietOnNotFound - parameterurl - input urlpublic static <T> Collection<T> safeCollection(Collection<T> collection)
public static char getParameterSeparator(String url)
public static char getParameterSeparator(StringBuilder url)
public static boolean appendParameter(StringBuilder url, String parameterName, String parameterValue)
Copyright © 2007–2016 PDOK. All rights reserved.