public class JsonHttpHelper
extends java.lang.Object
implements java.lang.AutoCloseable
Constructor and Description |
---|
JsonHttpHelper() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.vertx.java.core.json.JsonObject |
get(java.lang.String url) |
void |
sendPost(java.lang.String url,
org.vertx.java.core.json.JsonObject content) |
void |
sendPut(java.lang.String url,
org.vertx.java.core.json.JsonObject content) |
public org.vertx.java.core.json.JsonObject get(java.lang.String url) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException, java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
java.io.IOException
public void sendPost(java.lang.String url, org.vertx.java.core.json.JsonObject content) throws java.lang.Exception
java.lang.Exception
public void sendPut(java.lang.String url, org.vertx.java.core.json.JsonObject content) throws java.lang.Exception
java.lang.Exception
public void close()
close
in interface java.lang.AutoCloseable
Copyright © 2021. All Rights Reserved.