Home | History | Annotate | Download | only in header
      1 package javax.sip.header;
      2 
      3 import java.util.Locale;
      4 import javax.sip.InvalidArgumentException;
      5 
      6 public interface AcceptLanguageHeader extends Header, Parameters {
      7     String NAME = "Accept-Language";
      8 
      9     Locale getAcceptLanguage();
     10     void setAcceptLanguage(Locale acceptLanguage);
     11     void setLanguageRange(String languageRange);
     12 
     13     float getQValue();
     14     void setQValue(float qValue) throws InvalidArgumentException;
     15     boolean hasQValue();
     16     void removeQValue();
     17 }
     18