Class OpenTsdbConnectionFactory
- java.lang.Object
-
- cz.o2.proxima.direct.io.http.TestableConnFactory
-
- cz.o2.proxima.direct.io.http.opentsdb.OpenTsdbConnectionFactory
-
- All Implemented Interfaces:
ConnFactory
,java.io.Serializable
@Experimental("Missing production use-case") public class OpenTsdbConnectionFactory extends TestableConnFactory
AConnFactory
for OpenTSDB.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OpenTsdbConnectionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.HttpURLConnection
openConnection(java.net.URI base, StreamElement elem)
Open and return HTTP(S) connection to given base URI with given input stream element.-
Methods inherited from class cz.o2.proxima.direct.io.http.TestableConnFactory
newConnection
-
-
-
-
Method Detail
-
openConnection
public java.net.HttpURLConnection openConnection(java.net.URI base, StreamElement elem) throws java.io.IOException
Description copied from interface:ConnFactory
Open and return HTTP(S) connection to given base URI with given input stream element. The returned connection must be open and ready to retrieve status.- Parameters:
base
- URIelem
- input element- Returns:
- new connection
- Throws:
java.io.IOException
- on IO errors
-
-