52 lines
1.2 KiB
Java
52 lines
1.2 KiB
Java
/*
|
|
* 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/>.
|
|
*/
|
|
|
|
package we.fizz;
|
|
|
|
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;
|
|
}
|
|
|
|
}
|