Package io.split.client.utils
Class Utils
- java.lang.Object
-
- io.split.client.utils.Utils
-
public class Utils extends Object
Created by adilaijaz on 6/10/16.
-
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static URIappendPath(URI root, String pathToAppend)static voidforceClose(org.apache.http.client.methods.CloseableHttpResponse response)static org.apache.http.entity.StringEntitytoJsonEntity(Object obj)
-
-
-
Method Detail
-
toJsonEntity
public static org.apache.http.entity.StringEntity toJsonEntity(Object obj)
-
forceClose
public static void forceClose(org.apache.http.client.methods.CloseableHttpResponse response)
-
appendPath
public static URI appendPath(URI root, String pathToAppend) throws URISyntaxException
- Throws:
URISyntaxException
-
-