public static class DigipostApiMock.MockResponse extends Object implements DigipostApiMock.ResponseProducer
Constructor and Description |
---|
MockResponse(org.apache.http.client.methods.CloseableHttpResponse response) |
MockResponse(RuntimeException ex) |
Modifier and Type | Method and Description |
---|---|
org.apache.http.client.methods.CloseableHttpResponse |
getResponse() |
public MockResponse(org.apache.http.client.methods.CloseableHttpResponse response)
public MockResponse(RuntimeException ex)
public org.apache.http.client.methods.CloseableHttpResponse getResponse()
getResponse
in interface DigipostApiMock.ResponseProducer
Copyright © 2016 Digipost. All rights reserved.