diff options
Diffstat (limited to 'test/mocks/pnfsimulator/src/main/java')
-rw-r--r-- | test/mocks/pnfsimulator/src/main/java/org/onap/pnfsimulator/simulator/client/HttpClientAdapterImpl.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/mocks/pnfsimulator/src/main/java/org/onap/pnfsimulator/simulator/client/HttpClientAdapterImpl.java b/test/mocks/pnfsimulator/src/main/java/org/onap/pnfsimulator/simulator/client/HttpClientAdapterImpl.java index c38ac3efa..291e9d996 100644 --- a/test/mocks/pnfsimulator/src/main/java/org/onap/pnfsimulator/simulator/client/HttpClientAdapterImpl.java +++ b/test/mocks/pnfsimulator/src/main/java/org/onap/pnfsimulator/simulator/client/HttpClientAdapterImpl.java @@ -33,10 +33,6 @@ public class HttpClientAdapterImpl implements HttpClientAdapter { private HttpClient client; - public HttpClientAdapterImpl(HttpClient client) { - this.client = client; - } - public HttpClientAdapterImpl() { this.client = HttpClientBuilder .create() @@ -55,6 +51,10 @@ public class HttpClientAdapterImpl implements HttpClientAdapter { } } + HttpClientAdapterImpl(HttpClient client) { + this.client = client; + } + private HttpPost createRequest(String content, String url) throws UnsupportedEncodingException { HttpPost request = new HttpPost(url); StringEntity stringEntity = new StringEntity(content); |