public class RestResponse<T> extends Object
Modifier and Type | Field and Description |
---|---|
static byte |
JSON_TYPE |
static byte |
XML_TYPE |
Constructor and Description |
---|
RestResponse() |
Modifier and Type | Method and Description |
---|---|
T |
getBody() |
Map<String,List<String>> |
getHeadersMap() |
int |
getHttpStatusCode() |
void |
setBody(T body) |
void |
setHeadersMap(Map<String,List<String>> headersMap) |
void |
setHttpStatusCode(int httpStatusCode) |
public static final byte JSON_TYPE
public static final byte XML_TYPE
Copyright © 2021 WSO2. All rights reserved.