
nl.pvanassen.ns.ApiRequest Maven / Gradle / Ivy
package nl.pvanassen.ns;
import nl.pvanassen.ns.model.NsResult;
import java.io.Serializable;
/**
* Api request type. This type is the basis for all responses from the NS api.
*
* @author Paul van Assen
*
* @param Result type
*/
public abstract class ApiRequest implements Serializable {
/**
* Allow only instantiation in this package
*/
ApiRequest() {
super();
}
/**
* @return The path part of the request to make to the NS webservices
*/
abstract String getPath();
/**
* @return The querystring part of the request to make to the NS webservices
*/
abstract String getRequestString();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy