Searched refs:languageRange (Results 1 – 2 of 2) sorted by relevance
63 protected String languageRange; field in AcceptLanguage76 if (languageRange != null) { in encodeBody()77 encoding.append(languageRange); in encodeBody()89 return languageRange; in getLanguageRange()126 public void setLanguageRange(String languageRange) { in setLanguageRange() argument127 this.languageRange = languageRange.trim(); in setLanguageRange()167 if (this.languageRange == null) in getAcceptLanguage()170 int dash = languageRange.indexOf('-'); in getAcceptLanguage()172 … return new Locale( languageRange.substring(0,dash), languageRange.substring(dash+1) ); in getAcceptLanguage()173 } else return new Locale( this.languageRange ); in getAcceptLanguage()[all …]
11 void setLanguageRange(String languageRange); in setLanguageRange() argument