Anybody knows how to make a http request in java for this?
Create a new class (for example LatchSDK.java) extending Latch.java. This class should override HTTP_GET method with your own implementation to perform HTTP requests as you usually perform them in your project.
public class LatchSDK extends Latch{
@Override
public JsonElement HTTP_GET(String URL, Map<String, String>headers) {
//Your implementation here
}
}