public class HttpClient extends AbstractClient
| Constructor and Description |
|---|
HttpClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection()
Use this method to close the connection of this client.
|
JsonRPCResponse |
invokeAndReadResponse(JsonRPCRequest requestObject,
URI endpointUri,
boolean sslVerificationDisabled)
Use this method to send a
requestObject to the
endpointUri and to receive an answer. |
public JsonRPCResponse invokeAndReadResponse(JsonRPCRequest requestObject, URI endpointUri, boolean sslVerificationDisabled) throws BeowulfCommunicationException
AbstractClientrequestObject to the
endpointUri and to receive an answer.invokeAndReadResponse in class AbstractClientrequestObject - The object to send.endpointUri - The endpoint to connect and send to.sslVerificationDisabled - Define if the SSL verification should be disabled.JsonRPCResponse object.BeowulfCommunicationException - In case of communication problems.public void closeConnection()
AbstractClientcloseConnection in class AbstractClientCopyright © 2019. All rights reserved.