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 <T> booleancheckExitConditions(ChangeDto<T> change, long cn)static voidforceClose(org.apache.hc.client5.http.impl.classic.CloseableHttpResponse response)static org.apache.hc.core5.http.HttpEntitytoJsonEntity(Object obj)
-
-
-
Method Detail
-
toJsonEntity
public static org.apache.hc.core5.http.HttpEntity toJsonEntity(Object obj)
-
forceClose
public static void forceClose(org.apache.hc.client5.http.impl.classic.CloseableHttpResponse response)
-
appendPath
public static URI appendPath(URI root, String pathToAppend) throws URISyntaxException
- Throws:
URISyntaxException
-
checkExitConditions
public static <T> boolean checkExitConditions(ChangeDto<T> change, long cn)
-
-