mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
Polish spring-cloud-incubator/spring-cloud-alibaba#348 : Bug fixes
This commit is contained in:
parent
4b1c3c6454
commit
d05c437d89
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user