@Override
    protected void parse(Map<String, String> options) {
        String read = options.get("http.timeouts.read"); //$NON-NLS-1$
        String write = options.get("http.timeouts.write"); //$NON-NLS-1$
        String connect = options.get("http.timeouts.connect"); //$NON-NLS-1$
        String redirects = options.get("http.followRedirects"); //$NON-NLS-1$
        if (read != null) {
            setReadTimeout(Integer.parseInt(read));
        } else {
            setReadTimeout(DEFAULT_READ_TIMEOUT);
        }
        if (write != null) {
            setWriteTimeout(Integer.parseInt(write));
        } else {
            setWriteTimeout(DEFAULT_WRITE_TIMEOUT);
        }
        if (connect != null) {
            setConnectTimeout(Integer.parseInt(connect));
        } else {
            setConnectTimeout(DEFAULT_CONNECT_TIMEOUT);
        }
        if (redirects != null) {
            setFollowRedirects(Boolean.parseBoolean(redirects));
        } else {
            setFollowRedirects(DEFAULT_FOLLOW_REDIRECTS);
        }
    }
@see io.apiman.common.config.options.AbstractOptions#parse(java.util.Map)
common/config/src/main/java/io/apiman/common/config/options/HttpConnectorOptions.java