All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lukaspradel.steamapi.core.SteamApiRequest Maven / Gradle / Ivy

There is a newer version: 1.9.0
Show newest version
package com.lukaspradel.steamapi.core;

import java.util.Collections;
import java.util.Map;

/**
 * General purpose request class for requests to some Steam API.
 *
 * @author lpradel
 *
 */
public abstract class SteamApiRequest {

	protected final String baseUrl;

	protected final Map parameters;

	protected static final String REQUEST_PARAM_BOOLEAN_TRUE = "1";

	public SteamApiRequest(String baseUrl, Map parameters) {

		this.baseUrl = baseUrl;
		this.parameters = parameters;
	}

	public String getBaseUrl() {
		return baseUrl;
	}

	public Map getParameters() {
		return Collections.unmodifiableMap(parameters);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy