class AcceptLanguageHeaderDelegate implements RuntimeDelegate.HeaderDelegate<AcceptLanguage> {

    @Override
    public String toString(AcceptLanguage language) {
        if (language == null) {
            throw new IllegalArgumentException();
        }
        return language.getLanguage().toString();
    }

}