public class Utility extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isSuccessStatusCode(org.apache.http.HttpResponse response)
determines if the response was successful based on status code
|
static String[] |
toStringArray(List<String> source)
converts ArrayList{String} to String[]
|
public static String[] toStringArray(List<String> source)
source - list to convert to arrayIllegalArgumentException - if source is nullpublic static boolean isSuccessStatusCode(org.apache.http.HttpResponse response)
response - HttpResponse object to checkCopyright © 2016–2021. All rights reserved.