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

org.ocap.hn.upnp.common.UPnPResponse Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
package org.ocap.hn.upnp.common;


/**
 * This class represents a response to a UPnP action. 
 */
public abstract class UPnPResponse
{
    /**
     * Protected constructor for the instance.
     */
    protected UPnPResponse()
    {

    }

    /**
     * Gets the HTTP response code from the response.
     * 
     * @return  The HTTP response code associated with the 
     *          response, such as 200 (OK) or 500 (Internal
     *          Server Error).
     */
    public int getHTTPResponseCode()
    {
        return 0;
    }

    /**
     * Gets the {@code UPnPActionInvocation} that the response is for.
     * 
     * @return  The UPnP action invocation that prompted this response.
     */
    public UPnPActionInvocation getActionInvocation()
    {
        return null;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy