public static class DigipostApiMock.MultipartRequestMatcher extends DigipostApiMock.RequestMatcher
Modifier and Type | Field and Description |
---|---|
static RuntimeException |
CONNECTION_REFUSED |
static org.apache.http.client.methods.CloseableHttpResponse |
DEFAULT_RESPONSE |
static Map<String,RuntimeException> |
errors |
static Map<String,org.apache.http.client.methods.CloseableHttpResponse> |
responses |
Constructor and Description |
---|
MultipartRequestMatcher() |
Modifier and Type | Method and Description |
---|---|
org.apache.http.client.methods.CloseableHttpResponse |
findResponse(String requestString) |
static org.apache.http.client.methods.CloseableHttpResponse |
getDefaultResponse() |
public static org.apache.http.client.methods.CloseableHttpResponse DEFAULT_RESPONSE
public static RuntimeException CONNECTION_REFUSED
public static final Map<String,org.apache.http.client.methods.CloseableHttpResponse> responses
public static final Map<String,RuntimeException> errors
public static org.apache.http.client.methods.CloseableHttpResponse getDefaultResponse()
public org.apache.http.client.methods.CloseableHttpResponse findResponse(String requestString)
findResponse
in class DigipostApiMock.RequestMatcher
Copyright © 2016 Digipost. All rights reserved.