Class HttpModelLoader
- java.lang.Object
-
- com.codedstreams.otterstreams.sql.loader.HttpModelLoader
-
- All Implemented Interfaces:
ModelLoader
public class HttpModelLoader extends Object implements ModelLoader
Loads models from HTTP/HTTPS endpoints.
-
-
Constructor Summary
Constructors Constructor Description HttpModelLoader(ModelSourceConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetModelPath()InputStreamloadModel()
-
-
-
Constructor Detail
-
HttpModelLoader
public HttpModelLoader(ModelSourceConfig config)
-
-
Method Detail
-
loadModel
public InputStream loadModel() throws Exception
- Specified by:
loadModelin interfaceModelLoader- Throws:
Exception
-
getModelPath
public String getModelPath()
- Specified by:
getModelPathin interfaceModelLoader
-
-