Package io.openems.edge.bridge.http
Class UrlFetcherImpl
java.lang.Object
io.openems.edge.bridge.http.UrlFetcherImpl
- All Implemented Interfaces:
UrlFetcher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfetchEndpoint
(BridgeHttp.Endpoint endpoint) Creates aRunnable
to execute a request with the given parameters.
-
Constructor Details
-
UrlFetcherImpl
public UrlFetcherImpl()
-
-
Method Details
-
fetchEndpoint
Description copied from interface:UrlFetcher
Creates aRunnable
to execute a request with the given parameters.- Specified by:
fetchEndpoint
in interfaceUrlFetcher
- Parameters:
endpoint
- theBridgeHttp.Endpoint
to fetch- Returns:
- the result of the
BridgeHttp.Endpoint
- Throws:
OpenemsError.OpenemsNamedException
- on error
-