org.kgrid.adapter.api.ExecutorResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adapter-api Show documentation
Show all versions of adapter-api Show documentation
Adapter interface and base classes
The newest version!
package org.kgrid.adapter.api;
import java.util.List;
import java.util.Map;
public class ExecutorResponse {
private final Object body;
private final Map> headers;
private final ClientRequest clientRequest;
public Object getBody() {
return body;
}
public Map> getHeaders() {
return headers;
}
public ClientRequest getClientRequest() {
return clientRequest;
}
public ExecutorResponse(Object body, Map> headers, ClientRequest clientRequest) {
this.body = body;
this.headers = headers;
this.clientRequest = clientRequest;
}
}