1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00
This commit is contained in:
mercyblitz 2019-02-19 18:35:11 +08:00
parent 4b1c3c6454
commit d05c437d89

View File

@ -29,13 +29,17 @@ import java.io.IOException;
*/
class DubboHttpOutputMessage implements HttpOutputMessage {
private final FastByteArrayOutputStream outputStream = new FastByteArrayOutputStream();
private final HttpHeaders httpHeaders = new HttpHeaders();
@Override
public FastByteArrayOutputStream getBody() throws IOException {
return new FastByteArrayOutputStream();
return outputStream;
}
@Override
public HttpHeaders getHeaders() {
return new HttpHeaders();
return httpHeaders;
}
}