public interface MockHttpResponse
Used as a shim between the server and client APIs that allow the
Modifier and Type | Method and Description |
---|---|
byte[] |
getBody()
Returns the body of the response.
|
Map<String,String[]> |
getHeaders()
Returns the headers of the response.
|
String |
getMessage()
Returns the status message of the response.
|
int |
getStatus()
Returns the status code of the response.
|
int getStatus()
String getMessage()
Map<String,String[]> getHeaders()
byte[] getBody()
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.