Home | History | Annotate | Download | only in header
      1 package javax.sip.header;
      2 
      3 import java.text.ParseException;
      4 import javax.sip.InvalidArgumentException;
      5 
      6 public interface RetryAfterHeader extends Header, Parameters {
      7     String NAME = "Retry-After";
      8 
      9     String getComment();
     10     void setComment(String comment) throws ParseException;
     11     boolean hasComment();
     12     void removeComment();
     13 
     14     int getDuration();
     15     void setDuration(int duration) throws InvalidArgumentException;
     16     void removeDuration();
     17 
     18     int getRetryAfter();
     19     void setRetryAfter(int retryAfter) throws InvalidArgumentException;
     20 }
     21