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