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 postHtmlMessengerExceptionpublic org.apache.http.impl.client.CloseableHttpClient getCommunicationLink(String url) throws HtmlMessengerException
url - HtmlMessengerExceptionpublic String executePost() throws HtmlMessengerException
HtmlMessengerException
Version: 5.1.1-ice35-b43
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.