toValue method
Implementation
String toValue() {
switch (this) {
case HeaderEnum.accept:
return 'Accept';
case HeaderEnum.acceptCharset:
return 'Accept-Charset';
case HeaderEnum.acceptDatetime:
return 'Accept-Datetime';
case HeaderEnum.acceptEncoding:
return 'Accept-Encoding';
case HeaderEnum.acceptLanguage:
return 'Accept-Language';
case HeaderEnum.authorization:
return 'Authorization';
case HeaderEnum.cloudFrontForwardedProto:
return 'CloudFront-Forwarded-Proto';
case HeaderEnum.cloudFrontIsDesktopViewer:
return 'CloudFront-Is-Desktop-Viewer';
case HeaderEnum.cloudFrontIsMobileViewer:
return 'CloudFront-Is-Mobile-Viewer';
case HeaderEnum.cloudFrontIsSmartTVViewer:
return 'CloudFront-Is-SmartTV-Viewer';
case HeaderEnum.cloudFrontIsTabletViewer:
return 'CloudFront-Is-Tablet-Viewer';
case HeaderEnum.cloudFrontViewerCountry:
return 'CloudFront-Viewer-Country';
case HeaderEnum.host:
return 'Host';
case HeaderEnum.origin:
return 'Origin';
case HeaderEnum.referer:
return 'Referer';
}
}