1 package gov.nist.javax.sip.address; 2 3 import javax.sip.address.SipURI; 4 5 /** 6 * URI Interface extensions that will be added to version 2.0 of the JSR 32 spec. 7 * 8 * @author mranga 9 * 10 * @since 2.0 11 * 12 */ 13 public interface SipURIExt extends SipURI { 14 15 /** 16 * Strip the headers that are tacked to the URI. 17 * 18 * @since 2.0 19 */ removeHeaders()20 public void removeHeaders(); 21 22 /** 23 * Strip a specific header tacked to the URI. 24 * 25 * @param headerName -- the name of the header. 26 * 27 * @since 2.0 28 */ removeHeader(String headerName)29 public void removeHeader(String headerName); 30 31 /** 32 * Returns whether the <code>gr</code> parameter is set. 33 * 34 * @since 2.0 35 */ hasGrParam()36 public boolean hasGrParam(); 37 38 /** 39 * Sets the <code>gr</code> parameter. 40 * 41 * @param value -- the GRUU param value. 42 * 43 * @since 2.0 44 */ setGrParam(String value)45 public void setGrParam(String value); 46 47 } 48