Files
fizz-gateway-node/src/main/java/we/fizz/AggregateResult.java

52 lines
1.2 KiB
Java
Raw Normal View History

2020-09-02 18:35:03 +08:00
/*
* Copyright (C) 2020 the original author or authors.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
2020-09-04 19:43:19 +08:00
package we.fizz;
2020-09-02 18:35:03 +08:00
import java.util.Map;
import org.springframework.util.MultiValueMap;
/**
*
* @author francis
*
*/
public class AggregateResult {
private MultiValueMap<String, String> headers;
private Map<String, Object> body;
public MultiValueMap<String, String> getHeaders() {
return headers;
}
public void setHeaders(MultiValueMap<String, String> headers) {
this.headers = headers;
}
public Map<String, Object> getBody() {
return body;
}
public void setBody(Map<String, Object> body) {
this.body = body;
}
}