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

gov.nist.javax.sip.address.SipURIExt Maven / Gradle / Ivy

There is a newer version: 1.3.0-91
Show newest version
package gov.nist.javax.sip.address;

import javax.sip.address.SipURI;

/**
 * URI Interface extensions that will be added to version 2.0 of the JSR 32 spec.
 *
 * @author mranga
 *
 * @since 2.0
 *
 */
public interface SipURIExt extends SipURI {

    /**
     * Strip the headers that are tacked to the URI.
     *
     * @since 2.0
     */
    public void removeHeaders();

    /**
     * Strip a specific header tacked to the URI.
     *
     * @param headerName -- the name of the header.
     *
     * @since 2.0
     */
    public void removeHeader(String headerName);

    /**
     * Returns whether the gr parameter is set.
     *
     * @since 2.0
     */
    public boolean hasGrParam();

    /**
     * Sets the gr parameter.
     *
     * @param value -- the GRUU param value.
     *
     * @since 2.0
     */
    public void setGrParam(String value);
    
    /**
     * Returns whether the lr parameter is set.
     *
     * @since 2.0
     */
    public boolean hasLrParam();

    /**
     * Sets the lr parameter.
     *
     * @param value -- the lr param value.
     *
     * @since 2.0
     */
    public void setLrParam();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy