docs: @Override
      public Locale getLocale() {
          if (null == this.locales) {
              this.locales = connection.getEncodingUtils().getLocales(this.request.getHeader("Accept-Language"));
          }
          if (this.locales.isEmpty()) {
              return null;
          }
          return this.locales.get(0);
      }