public class HtmlMessenger extends Object
Constructor and Description |
---|
HtmlMessenger(String url,
Map<String,String> postList)
Instantiate messenger
|
Modifier and Type | Method and Description |
---|---|
String |
executePost()
Execute a post action and retrieve server reply
This method executes the post created when this class is instantiated
|
org.apache.http.impl.client.CloseableHttpClient |
getCommunicationLink(String url)
Creates a client to communicate.
|
public HtmlMessenger(String url, Map<String,String> postList) throws HtmlMessengerException
url
- postList
- variables list in postHtmlMessengerException
public org.apache.http.impl.client.CloseableHttpClient getCommunicationLink(String url) throws HtmlMessengerException
url
- HtmlMessengerException
public String executePost() throws HtmlMessengerException
HtmlMessengerException
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.