public interface RestResult
| 限定符和类型 | 方法和说明 |
|---|---|
default String |
appendErrorMessage(String message,
String errorInfo) |
byte[] |
getBody() |
String |
getContentType() |
byte[] |
getErrorResponse() |
String |
getMessage() |
int |
getResponseCode() |
Map<String,List<String>> |
headers() |
String getContentType()
byte[] getBody()
throws IOException
IOExceptionbyte[] getErrorResponse()
throws IOException
IOExceptionint getResponseCode()
throws IOException
IOExceptionString getMessage() throws IOException
IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.