package foundation.icall;
|
|
import foundation.handler.LetterWriter;
|
import foundation.icall.log.LogRecord;
|
import foundation.json.IJSONProvider;
|
import foundation.json.IJSONWriter;
|
|
public class OutboundResult extends LetterWriter implements IJSONProvider{
|
private String url;
|
private String route;
|
private String dataName;
|
private String sourceName;
|
private String response;
|
private LogRecord record;
|
|
public OutboundResult(ICall iCall) {
|
url = iCall.getURL();
|
dataName = iCall.getDataName();
|
sourceName = iCall.getSourceName();
|
route = iCall.getRoute();
|
}
|
|
public String getUrl() {
|
return url;
|
}
|
|
public String getRoute() {
|
return route;
|
}
|
|
public String getDataName() {
|
return dataName;
|
}
|
|
public String getSourceName() {
|
return sourceName;
|
}
|
|
public String getResponse() {
|
return response;
|
}
|
|
public void setResponse(String response) {
|
this.response = response;
|
}
|
|
public LogRecord getRecord() {
|
return record;
|
}
|
|
public void setRecord(LogRecord record) {
|
this.record = record;
|
}
|
|
@Override
|
public void writeJSON(IJSONWriter writer) {
|
|
}
|
|
}
|