public interface MockHttpResponse
Used as a shim between the server and client APIs that allow the RestClient
class to send and receive mocked requests using the MockRest
interface.
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 © 2018 Apache. All rights reserved.