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

nl.pvanassen.ns.ApiRequest Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
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