Class HttpDataConnection
- java.lang.Object
-
- net.sf.jasperreports.dataadapters.http.HttpDataConnection
-
- All Implemented Interfaces:
DataFileConnection
public class HttpDataConnection extends Object implements DataFileConnection
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_NO_RESPONSE
static String
EXCEPTION_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 void
dispose()
InputStream
getInputStream()
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_NO_RESPONSE
public static final String EXCEPTION_MESSAGE_KEY_NO_RESPONSE
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_STATUS_CODE_ERROR
public static final String EXCEPTION_MESSAGE_KEY_STATUS_CODE_ERROR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStream
in interfaceDataFileConnection
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceDataFileConnection
-
-