public abstract class PrePostImageCollector extends ImageCollector
| Constructor and Description |
|---|
PrePostImageCollector(ImageManager manager,
CombineImageUrl ciu,
nl.b3p.commons.services.HttpClientConfigured client) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
downloadImage(String url) |
String |
getBody() |
protected abstract String |
getUrlFromXML(String returnXML)
Recieve the url from the xml.
|
void |
setBody(String body) |
call, dispose, getBufferedImage, getCombinedImageUrl, getManager, getStatuspublic PrePostImageCollector(ImageManager manager, CombineImageUrl ciu, nl.b3p.commons.services.HttpClientConfigured client)
protected void downloadImage(String url) throws IOException, Exception
downloadImage in class ImageCollectorIOExceptionExceptionpublic String getBody()
public void setBody(String body)
protected abstract String getUrlFromXML(String returnXML) throws XPathExpressionException, org.jdom.JDOMException, IOException
returnXML - The xml that is recieved bij doing a post requestXPathExpressionExceptionorg.jdom.JDOMExceptionIOExceptionCopyright © 2016. All rights reserved.