@@ -24,6 +24,7 @@ import java.nio.charset.Charset; | |||
public class SquidConfiguration { | |||
private Charset charset = Charset.defaultCharset(); | |||
private boolean stopSquidOnException = false; | |||
public SquidConfiguration() { | |||
} | |||
@@ -36,4 +37,12 @@ public class SquidConfiguration { | |||
return charset; | |||
} | |||
public void setStopSquidOnException(boolean stopSquidOnException) { | |||
this.stopSquidOnException = stopSquidOnException; | |||
} | |||
public boolean stopSquidOnException() { | |||
return stopSquidOnException; | |||
} | |||
} |