public final class RESTAPIUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<ExtendedAPI> |
getResponseAsExtendedApis(InputStream input,
String projectName)
Get input stream and convert it to an API project Object
|
static String |
getResponseString(InputStream input)
Get inputStream string as string.
|
public static String getResponseString(InputStream input) throws IOException
input - input streamIOException - if read went wrongpublic static List<ExtendedAPI> getResponseAsExtendedApis(InputStream input, String projectName)
input - Input streamprojectName - project nameCopyright © 2024 WSO2. All rights reserved.