Class DefaultHttpClientService
- java.lang.Object
-
- org.opendaylight.infrautils.diagstatus.shell.DefaultHttpClientService
-
- All Implemented Interfaces:
HttpClientService
public class DefaultHttpClientService extends Object implements HttpClientService
-
-
Constructor Summary
Constructors Constructor Description DefaultHttpClientService(Map<String,String> initialProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHttpPort()
HttpResponse<String>
sendRequest(HttpRequest request)
-
-
-
Method Detail
-
getHttpPort
public int getHttpPort()
- Specified by:
getHttpPort
in interfaceHttpClientService
-
sendRequest
public HttpResponse<String> sendRequest(HttpRequest request) throws IOException, InterruptedException
- Specified by:
sendRequest
in interfaceHttpClientService
- Throws:
IOException
InterruptedException
-
-