Home | History | Annotate | Download | only in header
      1 package gov.nist.javax.sip.header;
      2 
      3 import javax.sip.address.URI;
      4 
      5 
      6 /**
      7  * The SIP Request Line.
      8  *
      9  * @since 2.0
     10  */
     11 public interface SipRequestLine {
     12 
     13     /** get the Request-URI.
     14      *
     15      * @return the request URI
     16      */
     17     public abstract URI getUri();
     18 
     19     /**
     20      * Get the Method
     21      *
     22      * @return method string.
     23      */
     24     public abstract String getMethod();
     25 
     26     /**
     27      * Get the SIP version.
     28      *
     29      * @return String
     30      */
     31     public abstract String getSipVersion();
     32 
     33     /**
     34      * Set the URI.
     35      *
     36      * @param uri URI to set.
     37      */
     38     public abstract void setUri(URI uri);
     39 
     40     /**
     41      * Set the method member
     42      *
     43      * @param method String to set
     44      */
     45     public abstract void setMethod(String method);
     46 
     47     /**
     48      * Set the sipVersion member
     49      *
     50      * @param s String to set
     51      */
     52     public abstract void setSipVersion(String version);
     53 
     54     /**
     55      * Get the major verrsion number.
     56      *
     57      *@return String major version number
     58      */
     59     public abstract String getVersionMajor();
     60 
     61     /**
     62      * Get the minor version number.
     63      *
     64      *@return String minor version number
     65      *
     66      */
     67     public abstract String getVersionMinor();
     68 
     69 }
     70