class LocalhostBlockingConfiguration extends AbstractConfiguration {

    public LocalhostControlStatus getLocalhostBlockingStatus() {
        LOG.debug("Call localhost blocking status API.");
        LocalhostControlStatus status = null;

        JSONObject o = getterRequest(STATUS_GETTER_URL_POSTFIX);
        if (o != null) {
            Boolean localhostMode = (Boolean) o.get("localhostMode");

            if (localhostMode) {
                status = LocalhostControlStatus.ON;
            } else {
                status = LocalhostControlStatus.OFF;
            }
        }
        return status;
    }

    public  LocalhostBlockingConfiguration(WilmaServiceConfig config);
    public  LocalhostBlockingConfiguration(WilmaServiceConfig config, WilmaHttpClient client);

}