com.algorithmia.development.ResponseHandler Maven / Gradle / Ivy
package com.algorithmia.development;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.PrintStream;
final class ResponseHandler {
private String FIFOPATH = "/tmp/algoout";
private PrintStream output;
ResponseHandler() {
try {
FileOutputStream fileOutputStream = new FileOutputStream(this.FIFOPATH, true);
output = new PrintStream(fileOutputStream, true);
} catch (FileNotFoundException e) {
throw new RuntimeException(e);
}
}