Package net.sf.jasperreports.data.http
Class HttpDataConnection
- java.lang.Object
-
- net.sf.jasperreports.data.http.HttpDataConnection
-
- All Implemented Interfaces:
DataFileConnection
public class HttpDataConnection extends java.lang.Object implements DataFileConnection
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEXCEPTION_MESSAGE_KEY_NO_RESPONSEstatic java.lang.StringEXCEPTION_MESSAGE_KEY_STATUS_CODE_ERROR
-
Constructor Summary
Constructors Constructor Description HttpDataConnection(org.apache.http.impl.client.CloseableHttpClient httpClient, org.apache.http.client.methods.HttpRequestBase request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()java.io.InputStreamgetInputStream()
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_NO_RESPONSE
public static final java.lang.String EXCEPTION_MESSAGE_KEY_NO_RESPONSE
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_STATUS_CODE_ERROR
public static final java.lang.String EXCEPTION_MESSAGE_KEY_STATUS_CODE_ERROR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInputStream
public java.io.InputStream getInputStream()
- Specified by:
getInputStreamin interfaceDataFileConnection
-
dispose
public void dispose()
- Specified by:
disposein interfaceDataFileConnection
-
-