Package io.openems.edge.bridge.http
Interface UrlFetcher
- All Known Implementing Classes:
UrlFetcherImpl
public interface UrlFetcher
-
Method Summary
Modifier and TypeMethodDescriptionfetchEndpoint
(BridgeHttp.Endpoint endpoint) Creates aRunnable
to execute a request with the given parameters.
-
Method Details
-
fetchEndpoint
Creates aRunnable
to execute a request with the given parameters.- Parameters:
endpoint
- theBridgeHttp.Endpoint
to fetch- Returns:
- the result of the
BridgeHttp.Endpoint
- Throws:
OpenemsError.OpenemsNamedException
- on error
-